@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2InstanceCounts extends Object implements Serializable, Cloneable, StructuredPojo
Current status of fleet capacity. The number of active instances should match or be in the process of matching the number of desired instances. Pending and terminating counts are non-zero only if fleet capacity is adjusting to an UpdateFleetCapacity request, or if access to resources is temporarily affected.
Fleet-related operations include:
Describe fleets:
Update fleets:
Manage fleet capacity:
PutScalingPolicy (automatic scaling)
DescribeScalingPolicies (automatic scaling)
DeleteScalingPolicy (automatic scaling)
Constructor and Description |
---|
EC2InstanceCounts() |
Modifier and Type | Method and Description |
---|---|
EC2InstanceCounts |
clone() |
boolean |
equals(Object obj) |
Integer |
getACTIVE()
Actual number of active instances in the fleet.
|
Integer |
getDESIRED()
Ideal number of active instances in the fleet.
|
Integer |
getIDLE()
Number of active instances in the fleet that are not currently hosting a game session.
|
Integer |
getMAXIMUM()
Maximum value allowed for the fleet's instance count.
|
Integer |
getMINIMUM()
Minimum value allowed for the fleet's instance count.
|
Integer |
getPENDING()
Number of instances in the fleet that are starting but not yet active.
|
Integer |
getTERMINATING()
Number of instances in the fleet that are no longer active but haven't yet been terminated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setACTIVE(Integer aCTIVE)
Actual number of active instances in the fleet.
|
void |
setDESIRED(Integer dESIRED)
Ideal number of active instances in the fleet.
|
void |
setIDLE(Integer iDLE)
Number of active instances in the fleet that are not currently hosting a game session.
|
void |
setMAXIMUM(Integer mAXIMUM)
Maximum value allowed for the fleet's instance count.
|
void |
setMINIMUM(Integer mINIMUM)
Minimum value allowed for the fleet's instance count.
|
void |
setPENDING(Integer pENDING)
Number of instances in the fleet that are starting but not yet active.
|
void |
setTERMINATING(Integer tERMINATING)
Number of instances in the fleet that are no longer active but haven't yet been terminated.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EC2InstanceCounts |
withACTIVE(Integer aCTIVE)
Actual number of active instances in the fleet.
|
EC2InstanceCounts |
withDESIRED(Integer dESIRED)
Ideal number of active instances in the fleet.
|
EC2InstanceCounts |
withIDLE(Integer iDLE)
Number of active instances in the fleet that are not currently hosting a game session.
|
EC2InstanceCounts |
withMAXIMUM(Integer mAXIMUM)
Maximum value allowed for the fleet's instance count.
|
EC2InstanceCounts |
withMINIMUM(Integer mINIMUM)
Minimum value allowed for the fleet's instance count.
|
EC2InstanceCounts |
withPENDING(Integer pENDING)
Number of instances in the fleet that are starting but not yet active.
|
EC2InstanceCounts |
withTERMINATING(Integer tERMINATING)
Number of instances in the fleet that are no longer active but haven't yet been terminated.
|
public void setDESIRED(Integer dESIRED)
Ideal number of active instances in the fleet.
dESIRED
- Ideal number of active instances in the fleet.public Integer getDESIRED()
Ideal number of active instances in the fleet.
public EC2InstanceCounts withDESIRED(Integer dESIRED)
Ideal number of active instances in the fleet.
dESIRED
- Ideal number of active instances in the fleet.public void setMINIMUM(Integer mINIMUM)
Minimum value allowed for the fleet's instance count.
mINIMUM
- Minimum value allowed for the fleet's instance count.public Integer getMINIMUM()
Minimum value allowed for the fleet's instance count.
public EC2InstanceCounts withMINIMUM(Integer mINIMUM)
Minimum value allowed for the fleet's instance count.
mINIMUM
- Minimum value allowed for the fleet's instance count.public void setMAXIMUM(Integer mAXIMUM)
Maximum value allowed for the fleet's instance count.
mAXIMUM
- Maximum value allowed for the fleet's instance count.public Integer getMAXIMUM()
Maximum value allowed for the fleet's instance count.
public EC2InstanceCounts withMAXIMUM(Integer mAXIMUM)
Maximum value allowed for the fleet's instance count.
mAXIMUM
- Maximum value allowed for the fleet's instance count.public void setPENDING(Integer pENDING)
Number of instances in the fleet that are starting but not yet active.
pENDING
- Number of instances in the fleet that are starting but not yet active.public Integer getPENDING()
Number of instances in the fleet that are starting but not yet active.
public EC2InstanceCounts withPENDING(Integer pENDING)
Number of instances in the fleet that are starting but not yet active.
pENDING
- Number of instances in the fleet that are starting but not yet active.public void setACTIVE(Integer aCTIVE)
Actual number of active instances in the fleet.
aCTIVE
- Actual number of active instances in the fleet.public Integer getACTIVE()
Actual number of active instances in the fleet.
public EC2InstanceCounts withACTIVE(Integer aCTIVE)
Actual number of active instances in the fleet.
aCTIVE
- Actual number of active instances in the fleet.public void setIDLE(Integer iDLE)
Number of active instances in the fleet that are not currently hosting a game session.
iDLE
- Number of active instances in the fleet that are not currently hosting a game session.public Integer getIDLE()
Number of active instances in the fleet that are not currently hosting a game session.
public EC2InstanceCounts withIDLE(Integer iDLE)
Number of active instances in the fleet that are not currently hosting a game session.
iDLE
- Number of active instances in the fleet that are not currently hosting a game session.public void setTERMINATING(Integer tERMINATING)
Number of instances in the fleet that are no longer active but haven't yet been terminated.
tERMINATING
- Number of instances in the fleet that are no longer active but haven't yet been terminated.public Integer getTERMINATING()
Number of instances in the fleet that are no longer active but haven't yet been terminated.
public EC2InstanceCounts withTERMINATING(Integer tERMINATING)
Number of instances in the fleet that are no longer active but haven't yet been terminated.
tERMINATING
- Number of instances in the fleet that are no longer active but haven't yet been terminated.public String toString()
toString
in class Object
Object.toString()
public EC2InstanceCounts clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.