public class Ip extends Object implements Comparable<Ip>
Modifier and Type | Class and Description |
---|---|
static class |
Ip.Builder<T extends Ip.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Ip(long id,
String ip,
String subnet,
boolean isPublic,
IpState state,
Option datacenter) |
Modifier and Type | Method and 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.Objects.ToStringHelper |
string() |
Ip.Builder<?> |
toBuilder() |
String |
toString() |
public static Ip.Builder<?> builder()
public Ip.Builder<?> toBuilder()
public long getId()
public String getIp()
public boolean isPublic()
public IpState getState()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(Ip o)
compareTo
in interface Comparable<Ip>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.