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
public Pod(long id,
String name,
long zoneId,
String zoneName,
String gateway,
String netmask,
String startIp,
String endIp,
AllocationState allocationState)
builder
public static Pod.Builder builder()
getId
public long getId()
- Returns:
- id the ID of the Pod
getName
public String getName()
- Returns:
- name the name of the Pod
getZoneId
public long getZoneId()
- Returns:
- zoneId the Zone ID of the Pod
getZoneName
public String getZoneName()
- Returns:
- zoneName the Zone name of the Pod
getGateway
public String getGateway()
- Returns:
- gateway the gateway of the Pod
getNetmask
public String getNetmask()
- Returns:
- netmask the netmask of the Pod
getStartIp
public String getStartIp()
- Returns:
- startIp the starting IP for the Pod
getEndIp
public String getEndIp()
- Returns:
- endIp the ending IP for the Pod
getAllocationState
public AllocationState getAllocationState()
- Parameters:
allocationState
- the allocation state of the cluster
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
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.