@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.
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()
A unique identifier for a fleet.
|
Integer |
getMaximumPlayerSessionCount()
The maximum number of 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)
A unique identifier for a fleet.
|
void |
setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players allowed across all game sessions currently being hosted on all instances in the
fleet.
|
String |
toString()
Returns a string representation of this object.
|
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)
A unique identifier for a fleet.
|
FleetUtilization |
withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players allowed across all game sessions currently being hosted on all instances in the
fleet.
|
public void setFleetId(String fleetId)
A unique identifier for a fleet.
fleetId
- A unique identifier for a fleet.public String getFleetId()
A unique identifier for a fleet.
public FleetUtilization withFleetId(String fleetId)
A unique identifier for a fleet.
fleetId
- A 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)
The maximum number of players allowed across all game sessions currently being hosted on all instances in the fleet.
maximumPlayerSessionCount
- The maximum number of players allowed across all game sessions currently being hosted on all instances in
the fleet.public Integer getMaximumPlayerSessionCount()
The maximum number of players allowed across all game sessions currently being hosted on all instances in the fleet.
public FleetUtilization withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players allowed across all game sessions currently being hosted on all instances in the fleet.
maximumPlayerSessionCount
- The maximum number of 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.