@Generated(value="software.amazon.awssdk:codegen") public final class FleetUtilization extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FleetUtilization.Builder,FleetUtilization>
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
| Modifier and Type | Class and Description |
|---|---|
static interface |
FleetUtilization.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
activeGameSessionCount()
The number of active game sessions that are currently being hosted across all instances in the fleet location.
|
Integer |
activeServerProcessCount()
The number of server processes in
ACTIVE status that are currently running across all instances in
the fleet location. |
static FleetUtilization.Builder |
builder() |
Integer |
currentPlayerSessionCount()
The number of active player sessions that are currently being hosted across all instances in the fleet location.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fleetArn()
The Amazon Resource Name (ARN)
that is assigned to a GameLift fleet resource and uniquely identifies it.
|
String |
fleetId()
A unique identifier for the fleet associated with the location.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
location()
The fleet location for the fleet utilization information, expressed as an AWS Region code, such as
us-west-2. |
Integer |
maximumPlayerSessionCount()
The maximum number of players allowed across all game sessions that are currently being hosted across all
instances in the fleet location.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FleetUtilization.Builder> |
serializableBuilderClass() |
FleetUtilization.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fleetId()
A unique identifier for the fleet associated with the location.
public final 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.
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912.public final Integer activeServerProcessCount()
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 final Integer activeGameSessionCount()
The number of active game sessions that are currently being hosted across all instances in the fleet location.
public final Integer currentPlayerSessionCount()
The number of active player sessions that are currently being hosted across all instances in the fleet location.
public final 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 final String location()
The fleet location for the fleet utilization information, expressed as an AWS Region code, such as
us-west-2.
us-west-2.public FleetUtilization.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FleetUtilization.Builder,FleetUtilization>public static FleetUtilization.Builder builder()
public static Class<? extends FleetUtilization.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.