public static interface FleetCapacity.Builder extends CopyableBuilder<FleetCapacity.Builder,FleetCapacity>
Modifier and Type | Method and Description |
---|---|
FleetCapacity.Builder |
fleetId(String fleetId)
Unique identifier for a fleet.
|
default FleetCapacity.Builder |
instanceCounts(Consumer<EC2InstanceCounts.Builder> instanceCounts)
Current status of fleet capacity.
|
FleetCapacity.Builder |
instanceCounts(EC2InstanceCounts instanceCounts)
Current status of fleet capacity.
|
FleetCapacity.Builder |
instanceType(EC2InstanceType instanceType)
Name of an EC2 instance type that is supported in Amazon GameLift.
|
FleetCapacity.Builder |
instanceType(String instanceType)
Name of an EC2 instance type that is supported in Amazon GameLift.
|
copy
applyMutation, build
FleetCapacity.Builder fleetId(String fleetId)
Unique identifier for a fleet.
fleetId
- Unique identifier for a fleet.FleetCapacity.Builder instanceType(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.
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
,
EC2InstanceType
FleetCapacity.Builder instanceType(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.
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
,
EC2InstanceType
FleetCapacity.Builder instanceCounts(EC2InstanceCounts instanceCounts)
Current status of fleet capacity.
instanceCounts
- Current status of fleet capacity.default FleetCapacity.Builder instanceCounts(Consumer<EC2InstanceCounts.Builder> instanceCounts)
Current status of fleet capacity.
This is a convenience 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.Builder
instanceCounts(EC2InstanceCounts)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.