Class Address
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.Address
-
public class Address extends Object
IP address
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Address.Builder<T extends Address.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Address.Builder<?>
builder()
static Address
createV4(String addr)
static Address
createV6(String addr)
boolean
equals(Object obj)
String
getAddr()
com.google.common.base.Optional<String>
getMacAddr()
com.google.common.base.Optional<String>
getType()
int
getVersion()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Address.Builder<?>
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static Address.Builder<?> builder()
-
toBuilder
public Address.Builder<?> toBuilder()
-
getAddr
public String getAddr()
- Returns:
- the ip address
-
getVersion
public int getVersion()
- Returns:
- the IP version, ex. 4
-
getMacAddr
public com.google.common.base.Optional<String> getMacAddr()
-
getType
public com.google.common.base.Optional<String> getType()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-