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<T extends Cluster.Builder<T>>
           
static class Cluster.ManagedState
           
 
Constructor Summary
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
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.Objects.ToStringHelper string()
           
 Cluster.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cluster

@ConstructorProperties(value={"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()

getHypervisor

@Nullable
public String getHypervisor()

getManagedState

@Nullable
public Cluster.ManagedState getManagedState()

getName

@Nullable
public String getName()

getPodId

@Nullable
public String getPodId()

getPodName

@Nullable
public String getPodName()

getZoneId

@Nullable
public String getZoneId()

getZoneName

@Nullable
public String getZoneName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Cluster other)
Specified by:
compareTo in interface Comparable<Cluster>


Copyright © 2009-2013 jclouds. All Rights Reserved.