org.jclouds.cloudstack.domain
Class Pod.Builder
java.lang.Object
org.jclouds.cloudstack.domain.Pod.Builder
- Enclosing class:
- Pod
public static class Pod.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public Pod.Builder id(long id)
- Parameters:
id
- the ID of the Pod
name
public Pod.Builder name(String name)
- Parameters:
name
- the name of the Pod
zoneId
public Pod.Builder zoneId(long zoneId)
- Parameters:
zoneId
- the Zone ID of the Pod
zoneName
public Pod.Builder zoneName(String zoneName)
- Parameters:
zoneName
- the Zone name of the Pod
gateway
public Pod.Builder gateway(String gateway)
- Parameters:
gateway
- the gateway of the Pod
netmask
public Pod.Builder netmask(String netmask)
- Parameters:
netmask
- the netmask of the Pod
startIp
public Pod.Builder startIp(String startIp)
- Parameters:
startIp
- the starting IP for the Pod
endIp
public Pod.Builder endIp(String endIp)
- Parameters:
endIp
- the ending IP for the Pod
allocationState
public Pod.Builder allocationState(AllocationState allocationState)
- Parameters:
allocationState
- the allocation state of the cluster
build
public Pod build()
- Build the Pod object
- Returns:
- the Pod object
Copyright © 2009-2012 jclouds. All Rights Reserved.