@Generated(value="software.amazon.awssdk:codegen") public final class FleetUtilization extends Object implements StructuredPojo, ToCopyableBuilder<FleetUtilization.Builder,FleetUtilization>
Current status of fleet utilization, including the number of game and player sessions being hosted.
Fleet-related operations include:
Describe fleets:
Update fleets:
Manage fleet capacity:
PutScalingPolicy (automatic scaling)
DescribeScalingPolicies (automatic scaling)
DeleteScalingPolicy (automatic scaling)
Modifier and Type | Class and Description |
---|---|
static interface |
FleetUtilization.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
activeGameSessionCount()
Number of active game sessions currently being hosted on all instances in the fleet.
|
Integer |
activeServerProcessCount()
Number of server processes in an
ACTIVE status currently running across all instances in the fleet |
static FleetUtilization.Builder |
builder() |
Integer |
currentPlayerSessionCount()
Number of active player sessions currently being hosted on all instances in the fleet.
|
boolean |
equals(Object obj) |
String |
fleetId()
Unique identifier for a fleet.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Integer |
maximumPlayerSessionCount()
Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.
|
static Class<? extends FleetUtilization.Builder> |
serializableBuilderClass() |
FleetUtilization.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String fleetId()
Unique identifier for a fleet.
public Integer activeServerProcessCount()
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 Integer activeGameSessionCount()
Number of active game sessions currently being hosted on all instances in the fleet.
public Integer currentPlayerSessionCount()
Number of active player sessions currently being hosted on all instances in the fleet.
public Integer maximumPlayerSessionCount()
Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.
public FleetUtilization.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FleetUtilization.Builder,FleetUtilization>
public static FleetUtilization.Builder builder()
public static Class<? extends FleetUtilization.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.