Class Address
java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.Address
IP address
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Address.Builder<?>builder()static Addressstatic AddressbooleangetAddr()com.google.common.base.Optional<String>com.google.common.base.Optional<String>getType()intinthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()toString()
-
Constructor Details
-
Address
@ConstructorProperties({"addr","version","OS-EXT-IPS-MAC:mac_addr","OS-EXT-IPS:type"}) protected Address(String addr, int version, @Nullable String macAddr, @Nullable String type)
-
-
Method Details
-
builder
-
toBuilder
-
createV4
-
createV6
-
getAddr
- Returns:
- the ip address
-
getVersion
public int getVersion()- Returns:
- the IP version, ex. 4
-
getMacAddr
-
getType
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-