@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetUtilization extends Object implements Serializable, Cloneable, StructuredPojo
Current status of fleet utilization, including the number of game and player sessions being hosted.
Fleet-related operations include:
Describe fleets:
Update fleets:
Manage fleet capacity:
PutScalingPolicy (automatic scaling)
DescribeScalingPolicies (automatic scaling)
DeleteScalingPolicy (automatic scaling)
Constructor and Description |
---|
FleetUtilization() |
Modifier and Type | Method and Description |
---|---|
FleetUtilization |
clone() |
boolean |
equals(Object obj) |
Integer |
getActiveGameSessionCount()
Number of active game sessions currently being hosted on all instances in the fleet.
|
Integer |
getActiveServerProcessCount()
Number of server processes in an
ACTIVE status currently running across all instances in the fleet |
Integer |
getCurrentPlayerSessionCount()
Number of active player sessions currently being hosted on all instances in the fleet.
|
String |
getFleetId()
Unique identifier for a fleet.
|
Integer |
getMaximumPlayerSessionCount()
Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveGameSessionCount(Integer activeGameSessionCount)
Number of active game sessions currently being hosted on all instances in the fleet.
|
void |
setActiveServerProcessCount(Integer activeServerProcessCount)
Number of server processes in an
ACTIVE status currently running across all instances in the fleet |
void |
setCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on all instances in the fleet.
|
void |
setFleetId(String fleetId)
Unique identifier for a fleet.
|
void |
setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FleetUtilization |
withActiveGameSessionCount(Integer activeGameSessionCount)
Number of active game sessions currently being hosted on all instances in the fleet.
|
FleetUtilization |
withActiveServerProcessCount(Integer activeServerProcessCount)
Number of server processes in an
ACTIVE status currently running across all instances in the fleet |
FleetUtilization |
withCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on all instances in the fleet.
|
FleetUtilization |
withFleetId(String fleetId)
Unique identifier for a fleet.
|
FleetUtilization |
withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.
|
public void setFleetId(String fleetId)
Unique identifier for a fleet.
fleetId
- Unique identifier for a fleet.public String getFleetId()
Unique identifier for a fleet.
public FleetUtilization withFleetId(String fleetId)
Unique identifier for a fleet.
fleetId
- Unique identifier for a fleet.public void setActiveServerProcessCount(Integer activeServerProcessCount)
Number of server processes in an ACTIVE
status currently running across all instances in the fleet
activeServerProcessCount
- Number of server processes in an ACTIVE
status currently running across all instances in the
fleetpublic Integer getActiveServerProcessCount()
Number of server processes in an ACTIVE
status currently running across all instances in the fleet
ACTIVE
status currently running across all instances in the
fleetpublic FleetUtilization withActiveServerProcessCount(Integer activeServerProcessCount)
Number of server processes in an ACTIVE
status currently running across all instances in the fleet
activeServerProcessCount
- Number of server processes in an ACTIVE
status currently running across all instances in the
fleetpublic void setActiveGameSessionCount(Integer activeGameSessionCount)
Number of active game sessions currently being hosted on all instances in the fleet.
activeGameSessionCount
- Number of active game sessions currently being hosted on all instances in the fleet.public Integer getActiveGameSessionCount()
Number of active game sessions currently being hosted on all instances in the fleet.
public FleetUtilization withActiveGameSessionCount(Integer activeGameSessionCount)
Number of active game sessions currently being hosted on all instances in the fleet.
activeGameSessionCount
- Number of active game sessions currently being hosted on all instances in the fleet.public void setCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on all instances in the fleet.
currentPlayerSessionCount
- Number of active player sessions currently being hosted on all instances in the fleet.public Integer getCurrentPlayerSessionCount()
Number of active player sessions currently being hosted on all instances in the fleet.
public FleetUtilization withCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on all instances in the fleet.
currentPlayerSessionCount
- Number of active player sessions currently being hosted on all instances in the fleet.public void setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.
maximumPlayerSessionCount
- Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.public Integer getMaximumPlayerSessionCount()
Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.
public FleetUtilization withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.
maximumPlayerSessionCount
- Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.public String toString()
toString
in class Object
Object.toString()
public FleetUtilization 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.