Package org.jclouds.gogrid.domain
Class Ip
- java.lang.Object
-
- org.jclouds.gogrid.domain.Ip
-
- All Implemented Interfaces:
Comparable<Ip>
public class Ip extends Object implements Comparable<Ip>
Class Ip
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Ip.Builder<T extends Ip.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ip.Builder<?>
builder()
int
compareTo(Ip o)
boolean
equals(Object obj)
Option
getDatacenter()
long
getId()
String
getIp()
IpState
getState()
String
getSubnet()
int
hashCode()
boolean
isPublic()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Ip.Builder<?>
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static Ip.Builder<?> builder()
-
toBuilder
public Ip.Builder<?> toBuilder()
-
getId
public long getId()
-
getIp
public String getIp()
-
isPublic
public boolean isPublic()
-
getState
public IpState getState()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(Ip o)
- Specified by:
compareTo
in interfaceComparable<Ip>
-
-