Package org.jclouds.glesys.domain
Class IpDetails.Builder<T extends IpDetails.Builder<T>>
- java.lang.Object
-
- org.jclouds.glesys.domain.IpDetails.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
address
protected String
broadcast
protected Cost
cost
protected String
datacenter
protected String
gateway
protected int
ipversion
protected List<String>
nameServers
protected String
netmask
protected String
platform
protected String
ptr
protected boolean
reserved
protected String
serverId
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
address(String address)
T
broadcast(String broadcast)
IpDetails
build()
T
cost(Cost cost)
T
datacenter(String datacenter)
T
fromIpDetails(IpDetails in)
T
gateway(String gateway)
T
nameServers(String... in)
T
nameServers(List<String> nameservers)
T
netmask(String netmask)
T
platform(String platform)
T
ptr(String ptr)
T
reserved(boolean reserved)
protected abstract T
self()
T
serverId(String serverId)
protected T
version(int ipversion)
T
version4()
T
version6()
-
-
-
Field Detail
-
datacenter
protected String datacenter
-
ipversion
protected int ipversion
-
ptr
protected String ptr
-
platform
protected String platform
-
address
protected String address
-
netmask
protected String netmask
-
broadcast
protected String broadcast
-
gateway
protected String gateway
-
serverId
protected String serverId
-
cost
protected Cost cost
-
reserved
protected boolean reserved
-
-
Method Detail
-
self
protected abstract T self()
-
datacenter
public T datacenter(String datacenter)
- See Also:
IpDetails.getDatacenter()
-
version
protected T version(int ipversion)
-
version4
public T version4()
-
version6
public T version6()
-
ptr
public T ptr(String ptr)
- See Also:
IpDetails.getPtr()
-
platform
public T platform(String platform)
- See Also:
IpDetails.getPlatform()
-
address
public T address(String address)
- See Also:
IpDetails.getAddress()
-
netmask
public T netmask(String netmask)
- See Also:
IpDetails.getNetmask()
-
broadcast
public T broadcast(String broadcast)
- See Also:
IpDetails.getBroadcast()
-
gateway
public T gateway(String gateway)
- See Also:
IpDetails.getGateway()
-
nameServers
public T nameServers(List<String> nameservers)
- See Also:
IpDetails.getNameServers()
-
serverId
public T serverId(String serverId)
- See Also:
IpDetails.getServerId()
-
cost
public T cost(Cost cost)
- See Also:
IpDetails.getCost()
-
reserved
public T reserved(boolean reserved)
- See Also:
IpDetails.isReserved()
-
build
public IpDetails build()
-
-