Package org.jclouds.cloudstack.domain
Class Cluster.Builder<T extends Cluster.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Cluster.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected AllocationState
allocationState
protected Host.ClusterType
clusterType
protected String
hypervisor
protected String
id
protected Cluster.ManagedState
managedState
protected String
name
protected String
podId
protected String
podName
protected String
zoneId
protected String
zoneName
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
allocationState(AllocationState allocationState)
Cluster
build()
T
clusterType(Host.ClusterType clusterType)
T
fromCluster(Cluster in)
T
hypervisor(String hypervisor)
T
id(String id)
T
managedState(Cluster.ManagedState managedState)
T
name(String name)
T
podId(String podId)
T
podName(String podName)
protected abstract T
self()
T
zoneId(String zoneId)
T
zoneName(String zoneName)
-
-
-
Field Detail
-
id
protected String id
-
allocationState
protected AllocationState allocationState
-
clusterType
protected Host.ClusterType clusterType
-
hypervisor
protected String hypervisor
-
managedState
protected Cluster.ManagedState managedState
-
name
protected String name
-
podId
protected String podId
-
podName
protected String podName
-
zoneId
protected String zoneId
-
zoneName
protected String zoneName
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
Cluster.getId()
-
allocationState
public T allocationState(AllocationState allocationState)
- See Also:
Cluster.getAllocationState()
-
clusterType
public T clusterType(Host.ClusterType clusterType)
- See Also:
Cluster.getClusterType()
-
hypervisor
public T hypervisor(String hypervisor)
- See Also:
Cluster.getHypervisor()
-
managedState
public T managedState(Cluster.ManagedState managedState)
- See Also:
Cluster.getManagedState()
-
name
public T name(String name)
- See Also:
Cluster.getName()
-
podId
public T podId(String podId)
- See Also:
Cluster.getPodId()
-
podName
public T podName(String podName)
- See Also:
Cluster.getPodName()
-
zoneId
public T zoneId(String zoneId)
- See Also:
Cluster.getZoneId()
-
zoneName
public T zoneName(String zoneName)
- See Also:
Cluster.getZoneName()
-
build
public Cluster build()
-
-