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.
- Author:
- Richard Downer
Pod
@ConstructorProperties(value={"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)
builder
public static Pod.Builder<?> builder()
toBuilder
public Pod.Builder<?> toBuilder()
getId
public String getId()
- Returns:
- id the ID of the Pod
getName
@Nullable
public String getName()
- Returns:
- name the name of the Pod
getZoneId
@Nullable
public String getZoneId()
- Returns:
- zoneId the Zone ID of the Pod
getZoneName
@Nullable
public String getZoneName()
- Returns:
- zoneName the Zone name of the Pod
getGateway
@Nullable
public String getGateway()
- Returns:
- gateway the gateway of the Pod
getNetmask
@Nullable
public String getNetmask()
- Returns:
- netmask the netmask of the Pod
getStartIp
@Nullable
public String getStartIp()
- Returns:
- startIp the starting IP for the Pod
getEndIp
@Nullable
public String getEndIp()
- Returns:
- endIp the ending IP for the Pod
getAllocationState
@Nullable
public AllocationState getAllocationState()
- Returns:
- the allocation state of the cluster
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(Pod other)
- Specified by:
compareTo in interface Comparable<Pod>
Copyright © 2009-2012 jclouds. All Rights Reserved.