Interface UpdateFleetCapacityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFleetCapacityRequest.Builder,
,UpdateFleetCapacityRequest> GameLiftRequest.Builder
,SdkBuilder<UpdateFleetCapacityRequest.Builder,
,UpdateFleetCapacityRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFleetCapacityRequest
-
Method Summary
Modifier and TypeMethodDescriptiondesiredInstances
(Integer desiredInstances) The number of Amazon EC2 instances you want to maintain in the specified fleet location.A unique identifier for the fleet to update capacity settings for.The name of a remote location to update fleet capacity settings for, in the form of an Amazon Web Services Region code such asus-west-2
.The maximum number of instances that are allowed in the specified fleet location.The minimum number of instances that are allowed in the specified fleet location.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fleetId
A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.
- Parameters:
fleetId
- A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredInstances
The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.
- Parameters:
desiredInstances
- The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minSize
The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.
- Parameters:
minSize
- The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxSize
The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.
- Parameters:
maxSize
- The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The name of a remote location to update fleet capacity settings for, in the form of an Amazon Web Services Region code such as
us-west-2
.- Parameters:
location
- The name of a remote location to update fleet capacity settings for, in the form of an Amazon Web Services Region code such asus-west-2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFleetCapacityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFleetCapacityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-