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

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

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


Field Summary
protected  AllocationState allocationState
           
protected  String endIp
           
protected  String gateway
           
protected  String id
           
protected  String name
           
protected  String netmask
           
protected  String startIp
           
protected  String zoneId
           
protected  String zoneName
           
 
Constructor Summary
Pod.Builder()
           
 
Method Summary
 T allocationState(AllocationState allocationState)
           
 Pod build()
           
 T endIp(String endIp)
           
 T fromPod(Pod in)
           
 T gateway(String gateway)
           
 T id(String id)
           
 T name(String name)
           
 T netmask(String netmask)
           
protected abstract  T self()
           
 T startIp(String startIp)
           
 T zoneId(String zoneId)
           
 T zoneName(String zoneName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

name

protected String name

zoneId

protected String zoneId

zoneName

protected String zoneName

gateway

protected String gateway

netmask

protected String netmask

startIp

protected String startIp

endIp

protected String endIp

allocationState

protected AllocationState allocationState
Constructor Detail

Pod.Builder

public Pod.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
Pod.getId()

name

public T name(String name)
See Also:
Pod.getName()

zoneId

public T zoneId(String zoneId)
See Also:
Pod.getZoneId()

zoneName

public T zoneName(String zoneName)
See Also:
Pod.getZoneName()

gateway

public T gateway(String gateway)
See Also:
Pod.getGateway()

netmask

public T netmask(String netmask)
See Also:
Pod.getNetmask()

startIp

public T startIp(String startIp)
See Also:
Pod.getStartIp()

endIp

public T endIp(String endIp)
See Also:
Pod.getEndIp()

allocationState

public T allocationState(AllocationState allocationState)
See Also:
Pod.getAllocationState()

build

public Pod build()

fromPod

public T fromPod(Pod in)


Copyright © 2009-2012 jclouds. All Rights Reserved.