org.jclouds.googlecomputeengine.domain
Class Address

java.lang.Object
  extended by org.jclouds.googlecomputeengine.domain.Resource
      extended by org.jclouds.googlecomputeengine.domain.Address

@Beta
public final class Address
extends Resource

Represents an Address resource.

Author:
Andrew Bayer
See Also:

Nested Class Summary
static class Address.Builder
           
 
Nested classes/interfaces inherited from class org.jclouds.googlecomputeengine.domain.Resource
Resource.Kind
 
Field Summary
 
Fields inherited from class org.jclouds.googlecomputeengine.domain.Resource
creationTimestamp, description, id, kind, name, selfLink
 
Method Summary
static Address.Builder builder()
           
 boolean equals(Object obj)
          
 String getAddress()
           
 URI getRegion()
           
 String getStatus()
           
 com.google.common.base.Optional<URI> getUser()
           
protected  com.google.common.base.Objects.ToStringHelper string()
          
 Address.Builder toBuilder()
           
 
Methods inherited from class org.jclouds.googlecomputeengine.domain.Resource
getCreationTimestamp, getDescription, getId, getKind, getName, getSelfLink, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getStatus

public String getStatus()
Returns:
The status of the address. Valid items are RESERVED and IN USE. A reserved address is currently available to the project and can be used by a resource. An in-use address is currently being used by a resource.

getUser

public com.google.common.base.Optional<URI> getUser()
Returns:
URL of the resource currently using this address.

getRegion

public URI getRegion()
Returns:
URL of the region where the address resides.

getAddress

public String getAddress()
Returns:
The IP address represented by this resource.

equals

public boolean equals(Object obj)

Overrides:
equals in class Resource

string

protected com.google.common.base.Objects.ToStringHelper string()

Overrides:
string in class Resource

builder

public static Address.Builder builder()

toBuilder

public Address.Builder toBuilder()
Overrides:
toBuilder in class Resource


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.