@Generated(value="software.amazon.awssdk:codegen") public final class FleetCapacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FleetCapacity.Builder,FleetCapacity>
Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.
Related actions
DescribeFleetCapacity | DescribeFleetLocationCapacity | UpdateFleetCapacity
| Modifier and Type | Class and Description |
|---|---|
static interface |
FleetCapacity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FleetCapacity.Builder |
builder() |
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() |
EC2InstanceCounts |
instanceCounts()
The current instance count and capacity settings for the fleet location.
|
EC2InstanceType |
instanceType()
The EC2 instance type that is used for all instances in a fleet.
|
String |
instanceTypeAsString()
The EC2 instance type that is used for all instances in a fleet.
|
String |
location()
The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FleetCapacity.Builder> |
serializableBuilderClass() |
FleetCapacity.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 EC2InstanceType instanceType()
The EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return EC2InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
EC2InstanceTypepublic final String instanceTypeAsString()
The EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return EC2InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
EC2InstanceTypepublic final EC2InstanceCounts instanceCounts()
The current instance count and capacity settings for the fleet location.
public final String location()
The fleet location for the instance count information, expressed as an AWS Region code, such as
us-west-2.
us-west-2.public FleetCapacity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FleetCapacity.Builder,FleetCapacity>public static FleetCapacity.Builder builder()
public static Class<? extends FleetCapacity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.