public class FleetUtilization extends Object implements Serializable, Cloneable
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 fleet game
servers.
|
Integer |
getCurrentPlayerSessionCount()
Number of active player sessions currently being hosted on fleet game
servers.
|
String |
getFleetId()
Unique identifier for a fleet.
|
Integer |
getMaximumPlayerSessionCount()
Maximum players allowed across all game sessions currently hosted in the
fleet.
|
int |
hashCode() |
void |
setActiveGameSessionCount(Integer activeGameSessionCount)
Number of active game sessions currently being hosted on fleet game
servers.
|
void |
setCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on fleet game
servers.
|
void |
setFleetId(String fleetId)
Unique identifier for a fleet.
|
void |
setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently hosted 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 fleet game
servers.
|
FleetUtilization |
withCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on fleet game
servers.
|
FleetUtilization |
withFleetId(String fleetId)
Unique identifier for a fleet.
|
FleetUtilization |
withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently hosted 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 setActiveGameSessionCount(Integer activeGameSessionCount)
Number of active game sessions currently being hosted on fleet game servers.
activeGameSessionCount
- Number of active game sessions currently being hosted on fleet
game servers.public Integer getActiveGameSessionCount()
Number of active game sessions currently being hosted on fleet game servers.
public FleetUtilization withActiveGameSessionCount(Integer activeGameSessionCount)
Number of active game sessions currently being hosted on fleet game servers.
activeGameSessionCount
- Number of active game sessions currently being hosted on fleet
game servers.public void setCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on fleet game servers.
currentPlayerSessionCount
- Number of active player sessions currently being hosted on fleet
game servers.public Integer getCurrentPlayerSessionCount()
Number of active player sessions currently being hosted on fleet game servers.
public FleetUtilization withCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on fleet game servers.
currentPlayerSessionCount
- Number of active player sessions currently being hosted on fleet
game servers.public void setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently hosted in the fleet.
maximumPlayerSessionCount
- Maximum players allowed across all game sessions currently hosted
in the fleet.public Integer getMaximumPlayerSessionCount()
Maximum players allowed across all game sessions currently hosted in the fleet.
public FleetUtilization withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently hosted in the fleet.
maximumPlayerSessionCount
- Maximum players allowed across all game sessions currently hosted
in the fleet.public String toString()
toString
in class Object
Object.toString()
public FleetUtilization clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.