Class GroupState
- java.lang.Object
-
- org.jclouds.rackspace.autoscale.v1.domain.GroupState
-
- All Implemented Interfaces:
Comparable<GroupState>
public class GroupState extends Object implements Comparable<GroupState>
Autoscale Group State. Contains information about a scaling group.- See Also:
Group
,GroupApi.listGroupStates()
,GroupApi.getState(String)
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GroupState(String id, List<Link> links, int activeCapacity, int pendingCapacity, int desiredCapacity, boolean paused, List<GroupInstance> groupInstances)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(GroupState that)
boolean
equals(Object obj)
int
getActiveCapacity()
int
getDesiredCapacity()
List<GroupInstance>
getGroupInstances()
String
getId()
List<Link>
getLinks()
boolean
getPaused()
int
getPendingCapacity()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
-
-
Constructor Detail
-
GroupState
@ConstructorProperties({"id","links","activeCapacity","pendingCapacity","desiredCapacity","paused","active"}) protected GroupState(String id, List<Link> links, int activeCapacity, int pendingCapacity, int desiredCapacity, boolean paused, List<GroupInstance> groupInstances)
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the id of this GroupState.
-
getActiveCapacity
public int getActiveCapacity()
- Returns:
- the active capacity for this GroupState.
-
getPendingCapacity
public int getPendingCapacity()
- Returns:
- the pending capacity for this GroupState.
-
getDesiredCapacity
public int getDesiredCapacity()
- Returns:
- the desired capacity for this GroupState.
-
getPaused
public boolean getPaused()
- Returns:
- the paused status for this GroupState.
-
getGroupInstances
public List<GroupInstance> getGroupInstances()
- Returns:
- the group instances for this GroupState.
- See Also:
GroupInstance
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(GroupState that)
- Specified by:
compareTo
in interfaceComparable<GroupState>
-
-