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 class
Cluster.Builder<T extends Cluster.Builder<T>>
static class
Cluster.ManagedState
-
Constructor Summary
Constructors Modifier Constructor Description protected
Cluster(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()
int
compareTo(Cluster other)
boolean
equals(Object obj)
AllocationState
getAllocationState()
Host.ClusterType
getClusterType()
String
getHypervisor()
String
getId()
Cluster.ManagedState
getManagedState()
String
getName()
String
getPodId()
String
getPodName()
String
getZoneId()
String
getZoneName()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Cluster.Builder<?>
toBuilder()
String
toString()
-
-
-
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:
compareTo
in interfaceComparable<Cluster>
-
-