org.jclouds.cloudstack.domain
Class Cluster

java.lang.Object
  extended by 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

Nested Class Summary
static class Cluster.Builder
           
static class Cluster.ManagedState
           
 
Constructor Summary
Cluster(long id, AllocationState allocationState, Host.ClusterType clusterType, String hypervisor, Cluster.ManagedState managedState, String name, long podId, String podName, long zoneId, String zoneName)
           
 
Method Summary
static Cluster.Builder builder()
           
 int compareTo(Cluster other)
           
 boolean equals(Object o)
           
 AllocationState getAllocationState()
           
 Host.ClusterType getClusterType()
           
 String getHypervisor()
           
 long getId()
           
 Cluster.ManagedState getManagedState()
           
 String getName()
           
 long getPodId()
           
 String getPodName()
           
 long getZoneId()
           
 String getZoneName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.