public class FleetUtilization
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Current status of fleet utilization, including the number of game and player sessions being hosted.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
activeGameSessionCount
Number of active game sessions currently being hosted on fleet game
servers.
|
private java.lang.Integer |
currentPlayerSessionCount
Number of active player sessions currently being hosted on fleet game
servers.
|
private java.lang.String |
fleetId
Unique identifier for a fleet.
|
private java.lang.Integer |
maximumPlayerSessionCount
Maximum players allowed across all game sessions currently hosted in the
fleet.
|
Constructor and Description |
---|
FleetUtilization() |
Modifier and Type | Method and Description |
---|---|
FleetUtilization |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getActiveGameSessionCount()
Number of active game sessions currently being hosted on fleet game
servers.
|
java.lang.Integer |
getCurrentPlayerSessionCount()
Number of active player sessions currently being hosted on fleet game
servers.
|
java.lang.String |
getFleetId()
Unique identifier for a fleet.
|
java.lang.Integer |
getMaximumPlayerSessionCount()
Maximum players allowed across all game sessions currently hosted in the
fleet.
|
int |
hashCode() |
void |
setActiveGameSessionCount(java.lang.Integer activeGameSessionCount)
Number of active game sessions currently being hosted on fleet game
servers.
|
void |
setCurrentPlayerSessionCount(java.lang.Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on fleet game
servers.
|
void |
setFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
|
void |
setMaximumPlayerSessionCount(java.lang.Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently hosted in the
fleet.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FleetUtilization |
withActiveGameSessionCount(java.lang.Integer activeGameSessionCount)
Number of active game sessions currently being hosted on fleet game
servers.
|
FleetUtilization |
withCurrentPlayerSessionCount(java.lang.Integer currentPlayerSessionCount)
Number of active player sessions currently being hosted on fleet game
servers.
|
FleetUtilization |
withFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
|
FleetUtilization |
withMaximumPlayerSessionCount(java.lang.Integer maximumPlayerSessionCount)
Maximum players allowed across all game sessions currently hosted in the
fleet.
|
private java.lang.String fleetId
Unique identifier for a fleet.
private java.lang.Integer activeGameSessionCount
Number of active game sessions currently being hosted on fleet game servers.
private java.lang.Integer currentPlayerSessionCount
Number of active player sessions currently being hosted on fleet game servers.
private java.lang.Integer maximumPlayerSessionCount
Maximum players allowed across all game sessions currently hosted in the fleet.
public void setFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
fleetId
- Unique identifier for a fleet.public java.lang.String getFleetId()
Unique identifier for a fleet.
public FleetUtilization withFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
fleetId
- Unique identifier for a fleet.public void setActiveGameSessionCount(java.lang.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 java.lang.Integer getActiveGameSessionCount()
Number of active game sessions currently being hosted on fleet game servers.
public FleetUtilization withActiveGameSessionCount(java.lang.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(java.lang.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 java.lang.Integer getCurrentPlayerSessionCount()
Number of active player sessions currently being hosted on fleet game servers.
public FleetUtilization withCurrentPlayerSessionCount(java.lang.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(java.lang.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 java.lang.Integer getMaximumPlayerSessionCount()
Maximum players allowed across all game sessions currently hosted in the fleet.
public FleetUtilization withMaximumPlayerSessionCount(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FleetUtilization clone()
clone
in class java.lang.Object