org.jclouds.googlecomputeengine.domain
Class Address
java.lang.Object
org.jclouds.googlecomputeengine.domain.Resource
org.jclouds.googlecomputeengine.domain.Address
@Beta
public final class Address
- extends Resource
Represents an Address resource.
- Author:
- Andrew Bayer
- See Also:
| Nested classes/interfaces inherited from class org.jclouds.googlecomputeengine.domain.Resource |
Resource.Kind |
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-2014 The Apache Software Foundation. All Rights Reserved.