Interface UpdateFleetCapacityRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFleetCapacityRequest.Builder,UpdateFleetCapacityRequest>,GameLiftRequest.Builder,SdkBuilder<UpdateFleetCapacityRequest.Builder,UpdateFleetCapacityRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateFleetCapacityRequest
public static interface UpdateFleetCapacityRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<UpdateFleetCapacityRequest.Builder,UpdateFleetCapacityRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateFleetCapacityRequest.BuilderdesiredInstances(Integer desiredInstances)The number of Amazon EC2 instances you want to maintain in the specified fleet location.UpdateFleetCapacityRequest.BuilderfleetId(String fleetId)A unique identifier for the fleet to update capacity settings for.UpdateFleetCapacityRequest.Builderlocation(String 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.UpdateFleetCapacityRequest.BuildermaxSize(Integer maxSize)The maximum number of instances that are allowed in the specified fleet location.UpdateFleetCapacityRequest.BuilderminSize(Integer minSize)The minimum number of instances that are allowed in the specified fleet location.UpdateFleetCapacityRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateFleetCapacityRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
fleetId
UpdateFleetCapacityRequest.Builder fleetId(String 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
UpdateFleetCapacityRequest.Builder desiredInstances(Integer 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
UpdateFleetCapacityRequest.Builder minSize(Integer 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
UpdateFleetCapacityRequest.Builder maxSize(Integer 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
UpdateFleetCapacityRequest.Builder location(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateFleetCapacityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-