public static interface FleetCapacity.Builder extends SdkPojo, CopyableBuilder<FleetCapacity.Builder,FleetCapacity>
| Modifier and Type | Method and Description |
|---|---|
FleetCapacity.Builder |
fleetArn(String fleetArn)
The Amazon Resource Name (ARN) that is assigned to a
GameLift fleet resource and uniquely identifies it.
|
FleetCapacity.Builder |
fleetId(String fleetId)
A unique identifier for the fleet associated with the location.
|
default FleetCapacity.Builder |
instanceCounts(Consumer<EC2InstanceCounts.Builder> instanceCounts)
The current instance count and capacity settings for the fleet location.
|
FleetCapacity.Builder |
instanceCounts(EC2InstanceCounts instanceCounts)
The current instance count and capacity settings for the fleet location.
|
FleetCapacity.Builder |
instanceType(EC2InstanceType instanceType)
The Amazon EC2 instance type that is used for all instances in a fleet.
|
FleetCapacity.Builder |
instanceType(String instanceType)
The Amazon EC2 instance type that is used for all instances in a fleet.
|
FleetCapacity.Builder |
location(String location)
The fleet location for the instance count information, expressed as an Amazon Web Services Region code, such
as
us-west-2. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFleetCapacity.Builder fleetId(String fleetId)
A unique identifier for the fleet associated with the location.
fleetId - A unique identifier for the fleet associated with the location.FleetCapacity.Builder fleetArn(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.
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.FleetCapacity.Builder instanceType(String instanceType)
The Amazon 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 Elastic Compute Cloud Instance Types for detailed descriptions.
instanceType - The Amazon 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 Elastic Compute Cloud Instance Types for
detailed descriptions.EC2InstanceType,
EC2InstanceTypeFleetCapacity.Builder instanceType(EC2InstanceType instanceType)
The Amazon 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 Elastic Compute Cloud Instance Types for detailed descriptions.
instanceType - The Amazon 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 Elastic Compute Cloud Instance Types for
detailed descriptions.EC2InstanceType,
EC2InstanceTypeFleetCapacity.Builder instanceCounts(EC2InstanceCounts instanceCounts)
The current instance count and capacity settings for the fleet location.
instanceCounts - The current instance count and capacity settings for the fleet location.default FleetCapacity.Builder instanceCounts(Consumer<EC2InstanceCounts.Builder> instanceCounts)
The current instance count and capacity settings for the fleet location.
This is a convenience method that creates an instance of theEC2InstanceCounts.Builder avoiding the
need to create one manually via EC2InstanceCounts.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to instanceCounts(EC2InstanceCounts).instanceCounts - a consumer that will call methods on EC2InstanceCounts.BuilderinstanceCounts(EC2InstanceCounts)FleetCapacity.Builder location(String location)
The fleet location for the instance count information, expressed as an Amazon Web Services Region code, such
as us-west-2.
location - The fleet location for the instance count information, expressed as an Amazon Web Services Region
code, such as us-west-2.Copyright © 2022. All rights reserved.