Package org.jclouds.cloudstack.domain
Class Pod
java.lang.Object
org.jclouds.cloudstack.domain.Pod
- All Implemented Interfaces:
Comparable<Pod>
Represents a Pod in CloudStack.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Pod.Builder
<?> builder()
int
boolean
getEndIp()
getId()
getName()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Pod.Builder
<?> toString()
-
Constructor Details
-
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 Details
-
builder
-
toBuilder
-
getId
- Returns:
- id the ID of the Pod
-
getName
- Returns:
- name the name of the Pod
-
getZoneId
- Returns:
- zoneId the Zone ID of the Pod
-
getZoneName
- Returns:
- zoneName the Zone name of the Pod
-
getGateway
- Returns:
- gateway the gateway of the Pod
-
getNetmask
- Returns:
- netmask the netmask of the Pod
-
getStartIp
- Returns:
- startIp the starting IP for the Pod
-
getEndIp
- Returns:
- endIp the ending IP for the Pod
-
getAllocationState
- Returns:
- the allocation state of the cluster
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Pod>
-