StructuredPojo
, ToCopyableBuilder<FleetCapacity.Builder,FleetCapacity>
@Generated("software.amazon.awssdk:codegen") public class FleetCapacity extends Object implements StructuredPojo, 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 | Description |
---|---|---|
static interface |
FleetCapacity.Builder |
Modifier and Type | Method | Description |
---|---|---|
static FleetCapacity.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
fleetId() |
Unique identifier for a fleet.
|
int |
hashCode() |
|
EC2InstanceCounts |
instanceCounts() |
Current status of fleet capacity.
|
String |
instanceType() |
Name of an EC2 instance type that is supported in Amazon GameLift.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends FleetCapacity.Builder> |
serializableBuilderClass() |
|
FleetCapacity.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String fleetId()
Unique identifier for a fleet.
public String 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.
EC2InstanceType
public EC2InstanceCounts instanceCounts()
Current status of fleet capacity.
public FleetCapacity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FleetCapacity.Builder,FleetCapacity>
public static FleetCapacity.Builder builder()
public static Class<? extends FleetCapacity.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.