Package org.jclouds.cloudstack.domain
Class Cluster
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Cluster
-
- All Implemented Interfaces:
Comparable<Cluster>
public class Cluster extends Object implements Comparable<Cluster>
Represents a CloudStack Cluster.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCluster.Builder<T extends Cluster.Builder<T>>static classCluster.ManagedState
-
Constructor Summary
Constructors Modifier Constructor Description protectedCluster(String id, AllocationState allocationState, Host.ClusterType clusterType, String hypervisor, Cluster.ManagedState managedState, String name, String podId, String podName, String zoneId, String zoneName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Cluster.Builder<?>builder()intcompareTo(Cluster other)booleanequals(Object obj)AllocationStategetAllocationState()Host.ClusterTypegetClusterType()StringgetHypervisor()StringgetId()Cluster.ManagedStategetManagedState()StringgetName()StringgetPodId()StringgetPodName()StringgetZoneId()StringgetZoneName()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()Cluster.Builder<?>toBuilder()StringtoString()
-
-
-
Constructor Detail
-
Cluster
@ConstructorProperties({"id","allocationstate","clustertype","hypervisortype","managedstate","name","podid","podname","zoneid","zonename"}) protected Cluster(String id, @Nullable AllocationState allocationState, @Nullable Host.ClusterType clusterType, @Nullable String hypervisor, @Nullable Cluster.ManagedState managedState, @Nullable String name, @Nullable String podId, @Nullable String podName, @Nullable String zoneId, @Nullable String zoneName)
-
-
Method Detail
-
builder
public static Cluster.Builder<?> builder()
-
toBuilder
public Cluster.Builder<?> toBuilder()
-
getId
public String getId()
-
getAllocationState
@Nullable public AllocationState getAllocationState()
-
getClusterType
@Nullable public Host.ClusterType getClusterType()
-
getManagedState
@Nullable public Cluster.ManagedState getManagedState()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(Cluster other)
- Specified by:
compareToin interfaceComparable<Cluster>
-
-