@Generated(value="software.amazon.awssdk:codegen") public final class FleetCapacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FleetCapacity.Builder,FleetCapacity>
Information about the fleet's capacity. Fleet capacity is measured in EC2 instances. By default, new fleets have a capacity of one instance, but can be updated as needed. The maximum number of instances for a fleet is determined by the fleet's instance type.
| 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 |
fleetId()
A unique identifier for a fleet.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
EC2InstanceCounts |
instanceCounts()
Current status of fleet capacity.
|
EC2InstanceType |
instanceType()
Name of an EC2 instance type that is supported in Amazon GameLift.
|
String |
instanceTypeAsString()
Name of an EC2 instance type that is supported in Amazon GameLift.
|
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 String fleetId()
A unique identifier for a fleet.
public EC2InstanceType instanceType()
Name of an EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Amazon GameLift supports the following EC2 instance types. 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 String instanceTypeAsString()
Name of an EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Amazon GameLift supports the following EC2 instance types. 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 EC2InstanceCounts instanceCounts()
Current status of fleet capacity.
public FleetCapacity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FleetCapacity.Builder,FleetCapacity>public static FleetCapacity.Builder builder()
public static Class<? extends FleetCapacity.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.