Package org.jclouds.glesys.domain
Class IpDetails
- java.lang.Object
-
- org.jclouds.glesys.domain.IpDetails
-
public class IpDetails extends Object
Represents detailed information about an IP address.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IpDetails.Builder<T extends IpDetails.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpDetails.Builder<?>
builder()
boolean
equals(Object obj)
String
getAddress()
String
getBroadcast()
Cost
getCost()
String
getDatacenter()
String
getGateway()
List<String>
getNameServers()
String
getNetmask()
String
getPlatform()
String
getPtr()
String
getServerId()
int
getVersion()
int
hashCode()
boolean
isReserved()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
IpDetails.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
IpDetails
@ConstructorProperties({"datacenter","ipversion","ptr","platform","ipaddress","netmask","broadcast","gateway","nameservers","serverid","cost","reserved"}) protected IpDetails(String datacenter, int version, String ptr, String platform, String address, @Nullable String netmask, @Nullable String broadcast, @Nullable String gateway, List<String> nameServers, @Nullable String serverId, Cost cost, GleSYSBoolean reserved)
-
-
Method Detail
-
builder
public static IpDetails.Builder<?> builder()
-
toBuilder
public IpDetails.Builder<?> toBuilder()
-
getDatacenter
public String getDatacenter()
-
getVersion
public int getVersion()
- Returns:
- the IP version, ex. 4
-
getPtr
public String getPtr()
-
getPlatform
public String getPlatform()
-
getAddress
public String getAddress()
-
getCost
public Cost getCost()
-
isReserved
public boolean isReserved()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-