@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetUtilization extends Object implements Serializable, Cloneable, StructuredPojo
Current resource utilization statistics in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.
Related actions
Constructor and Description |
---|
FleetUtilization() |
Modifier and Type | Method and Description |
---|---|
FleetUtilization |
clone() |
boolean |
equals(Object obj) |
Integer |
getActiveGameSessionCount()
The number of active game sessions that are currently being hosted across all instances in the fleet location.
|
Integer |
getActiveServerProcessCount()
The number of server processes in
ACTIVE status that are currently running across all instances in
the fleet location. |
Integer |
getCurrentPlayerSessionCount()
The number of active player sessions that are currently being hosted across all instances in the fleet location.
|
String |
getFleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
String |
getFleetId()
A unique identifier for the fleet associated with the location.
|
String |
getLocation()
The fleet location for the fleet utilization information, expressed as an Amazon Web Services Region code, such
as
us-west-2 . |
Integer |
getMaximumPlayerSessionCount()
The maximum number of players allowed across all game sessions that are currently being hosted across all
instances in the fleet location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveGameSessionCount(Integer activeGameSessionCount)
The number of active game sessions that are currently being hosted across all instances in the fleet location.
|
void |
setActiveServerProcessCount(Integer activeServerProcessCount)
The number of server processes in
ACTIVE status that are currently running across all instances in
the fleet location. |
void |
setCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
The number of active player sessions that are currently being hosted across all instances in the fleet location.
|
void |
setFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet associated with the location.
|
void |
setLocation(String location)
The fleet location for the fleet utilization information, expressed as an Amazon Web Services Region code, such
as
us-west-2 . |
void |
setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players allowed across all game sessions that are currently being hosted across all
instances in the fleet location.
|
String |
toString()
Returns a string representation of this object.
|
FleetUtilization |
withActiveGameSessionCount(Integer activeGameSessionCount)
The number of active game sessions that are currently being hosted across all instances in the fleet location.
|
FleetUtilization |
withActiveServerProcessCount(Integer activeServerProcessCount)
The number of server processes in
ACTIVE status that are currently running across all instances in
the fleet location. |
FleetUtilization |
withCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
The number of active player sessions that are currently being hosted across all instances in the fleet location.
|
FleetUtilization |
withFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
FleetUtilization |
withFleetId(String fleetId)
A unique identifier for the fleet associated with the location.
|
FleetUtilization |
withLocation(String location)
The fleet location for the fleet utilization information, expressed as an Amazon Web Services Region code, such
as
us-west-2 . |
FleetUtilization |
withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players allowed across all game sessions that are currently being hosted across all
instances in the fleet location.
|
public void setFleetId(String fleetId)
A unique identifier for the fleet associated with the location.
fleetId
- A unique identifier for the fleet associated with the location.public String getFleetId()
A unique identifier for the fleet associated with the location.
public FleetUtilization withFleetId(String fleetId)
A unique identifier for the fleet associated with the location.
fleetId
- A unique identifier for the fleet associated with the location.public void setFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
fleetArn
- The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.public String getFleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.public FleetUtilization withFleetArn(String fleetArn)
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions.
Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
fleetArn
- The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.public void setActiveServerProcessCount(Integer activeServerProcessCount)
The number of server processes in ACTIVE
status that are currently running across all instances in
the fleet location.
activeServerProcessCount
- The number of server processes in ACTIVE
status that are currently running across all
instances in the fleet location.public Integer getActiveServerProcessCount()
The number of server processes in ACTIVE
status that are currently running across all instances in
the fleet location.
ACTIVE
status that are currently running across all
instances in the fleet location.public FleetUtilization withActiveServerProcessCount(Integer activeServerProcessCount)
The number of server processes in ACTIVE
status that are currently running across all instances in
the fleet location.
activeServerProcessCount
- The number of server processes in ACTIVE
status that are currently running across all
instances in the fleet location.public void setActiveGameSessionCount(Integer activeGameSessionCount)
The number of active game sessions that are currently being hosted across all instances in the fleet location.
activeGameSessionCount
- The number of active game sessions that are currently being hosted across all instances in the fleet
location.public Integer getActiveGameSessionCount()
The number of active game sessions that are currently being hosted across all instances in the fleet location.
public FleetUtilization withActiveGameSessionCount(Integer activeGameSessionCount)
The number of active game sessions that are currently being hosted across all instances in the fleet location.
activeGameSessionCount
- The number of active game sessions that are currently being hosted across all instances in the fleet
location.public void setCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
The number of active player sessions that are currently being hosted across all instances in the fleet location.
currentPlayerSessionCount
- The number of active player sessions that are currently being hosted across all instances in the fleet
location.public Integer getCurrentPlayerSessionCount()
The number of active player sessions that are currently being hosted across all instances in the fleet location.
public FleetUtilization withCurrentPlayerSessionCount(Integer currentPlayerSessionCount)
The number of active player sessions that are currently being hosted across all instances in the fleet location.
currentPlayerSessionCount
- The number of active player sessions that are currently being hosted across all instances in the fleet
location.public void setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players allowed across all game sessions that are currently being hosted across all instances in the fleet location.
maximumPlayerSessionCount
- The maximum number of players allowed across all game sessions that are currently being hosted across all
instances in the fleet location.public Integer getMaximumPlayerSessionCount()
The maximum number of players allowed across all game sessions that are currently being hosted across all instances in the fleet location.
public FleetUtilization withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players allowed across all game sessions that are currently being hosted across all instances in the fleet location.
maximumPlayerSessionCount
- The maximum number of players allowed across all game sessions that are currently being hosted across all
instances in the fleet location.public void setLocation(String location)
The fleet location for the fleet utilization information, expressed as an Amazon Web Services Region code, such
as us-west-2
.
location
- The fleet location for the fleet utilization information, expressed as an Amazon Web Services Region code,
such as us-west-2
.public String getLocation()
The fleet location for the fleet utilization information, expressed as an Amazon Web Services Region code, such
as us-west-2
.
us-west-2
.public FleetUtilization withLocation(String location)
The fleet location for the fleet utilization information, expressed as an Amazon Web Services Region code, such
as us-west-2
.
location
- The fleet location for the fleet utilization information, expressed as an Amazon Web Services Region code,
such as us-west-2
.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.