org.jclouds.openstack.nova.v1_1.domain
Class Address
java.lang.Object
org.jclouds.openstack.nova.v1_1.domain.Address
public class Address
- extends Object
IP address
- Author:
- AdrianCole
addr
protected final String addr
version
protected final int version
Address
public Address(String addr,
int version)
builder
public static Address.Builder builder()
toBuilder
public Address.Builder toBuilder()
createV4
public static Address createV4(String addr)
createV6
public static Address createV6(String addr)
getAddr
public String getAddr()
- Returns:
- the ip address
getVersion
public int getVersion()
- Returns:
- the IP version, ex. 4
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.