Package org.jclouds.cloudstack.domain
Class NIC.Builder<T extends NIC.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.NIC.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected URI
broadcastURI
protected String
gateway
protected GuestIPType
guestIPType
protected String
id
protected String
IPAddress
protected boolean
isDefault
protected URI
isolationURI
protected String
macAddress
protected String
netmask
protected String
networkId
protected TrafficType
trafficType
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
broadcastURI(URI broadcastURI)
NIC
build()
T
fromNIC(NIC in)
T
gateway(String gateway)
T
guestIPType(GuestIPType guestIPType)
T
id(String id)
T
IPAddress(String IPAddress)
T
isDefault(boolean isDefault)
T
isolationURI(URI isolationURI)
T
macAddress(String macAddress)
T
netmask(String netmask)
T
networkId(String networkId)
protected abstract T
self()
T
trafficType(TrafficType trafficType)
-
-
-
Field Detail
-
id
protected String id
-
broadcastURI
protected URI broadcastURI
-
gateway
protected String gateway
-
IPAddress
protected String IPAddress
-
isDefault
protected boolean isDefault
-
isolationURI
protected URI isolationURI
-
netmask
protected String netmask
-
macAddress
protected String macAddress
-
networkId
protected String networkId
-
trafficType
protected TrafficType trafficType
-
guestIPType
protected GuestIPType guestIPType
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
NIC.getId()
-
broadcastURI
public T broadcastURI(URI broadcastURI)
- See Also:
NIC.getBroadcastURI()
-
gateway
public T gateway(String gateway)
- See Also:
NIC.getGateway()
-
IPAddress
public T IPAddress(String IPAddress)
- See Also:
NIC.getIPAddress()
-
isDefault
public T isDefault(boolean isDefault)
- See Also:
NIC.isDefault()
-
isolationURI
public T isolationURI(URI isolationURI)
- See Also:
NIC.getIsolationURI()
-
netmask
public T netmask(String netmask)
- See Also:
NIC.getNetmask()
-
macAddress
public T macAddress(String macAddress)
- See Also:
NIC.getMacAddress()
-
networkId
public T networkId(String networkId)
- See Also:
NIC.getNetworkId()
-
trafficType
public T trafficType(TrafficType trafficType)
- See Also:
NIC.getTrafficType()
-
guestIPType
public T guestIPType(GuestIPType guestIPType)
- See Also:
NIC.getGuestIPType()
-
build
public NIC build()
-
-