org.jclouds.cloudstack.domain
Class NIC.Builder<T extends NIC.Builder<T>>

java.lang.Object
  extended by org.jclouds.cloudstack.domain.NIC.Builder<T>
Enclosing class:
NIC

public abstract static class NIC.Builder<T extends NIC.Builder<T>>
extends Object


Field Summary
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
NIC.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

NIC.Builder

public NIC.Builder()
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()

fromNIC

public T fromNIC(NIC in)


Copyright © 2009-2013 jclouds. All Rights Reserved.