Package org.jclouds.cloudstack.domain
Class Pod
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Pod
-
- All Implemented Interfaces:
Comparable<Pod>
public class Pod extends Object implements Comparable<Pod>
Represents a Pod in CloudStack.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPod.Builder<T extends Pod.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Pod.Builder<?>builder()intcompareTo(Pod other)booleanequals(Object obj)AllocationStategetAllocationState()StringgetEndIp()StringgetGateway()StringgetId()StringgetName()StringgetNetmask()StringgetStartIp()StringgetZoneId()StringgetZoneName()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()Pod.Builder<?>toBuilder()StringtoString()
-
-
-
Constructor Detail
-
Pod
@ConstructorProperties({"id","name","zoneid","zonename","gateway","netmask","startip","endip","allocationstate"}) protected Pod(String id, @Nullable String name, @Nullable String zoneId, @Nullable String zoneName, @Nullable String gateway, @Nullable String netmask, @Nullable String startIp, @Nullable String endIp, @Nullable AllocationState allocationState)
-
-
Method Detail
-
builder
public static Pod.Builder<?> builder()
-
toBuilder
public Pod.Builder<?> toBuilder()
-
getId
public String getId()
- Returns:
- id the ID of the Pod
-
getAllocationState
@Nullable public AllocationState getAllocationState()
- Returns:
- the allocation state of the cluster
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(Pod other)
- Specified by:
compareToin interfaceComparable<Pod>
-
-