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 class
Pod.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()
int
compareTo(Pod other)
boolean
equals(Object obj)
AllocationState
getAllocationState()
String
getEndIp()
String
getGateway()
String
getId()
String
getName()
String
getNetmask()
String
getStartIp()
String
getZoneId()
String
getZoneName()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Pod.Builder<?>
toBuilder()
String
toString()
-
-
-
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:
compareTo
in interfaceComparable<Pod>
-
-