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.
- Author:
- Richard Downer
Cluster
public Cluster(long id,
AllocationState allocationState,
Host.ClusterType clusterType,
String hypervisor,
Cluster.ManagedState managedState,
String name,
long podId,
String podName,
long zoneId,
String zoneName)
builder
public static Cluster.Builder builder()
getId
public long getId()
getAllocationState
public AllocationState getAllocationState()
getClusterType
public Host.ClusterType getClusterType()
getHypervisor
public String getHypervisor()
getManagedState
public Cluster.ManagedState getManagedState()
getName
public String getName()
getPodId
public long getPodId()
getPodName
public String getPodName()
getZoneId
public long getZoneId()
getZoneName
public String getZoneName()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(Cluster other)
- Specified by:
compareTo
in interface Comparable<Cluster>
Copyright © 2009-2012 jclouds. All Rights Reserved.