public static interface ModifySpotFleetRequestRequest.Builder extends Ec2Request.Builder, CopyableBuilder<ModifySpotFleetRequestRequest.Builder,ModifySpotFleetRequestRequest>
Modifier and Type | Method and Description |
---|---|
ModifySpotFleetRequestRequest.Builder |
excessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet
request is decreased below the current size of the Spot fleet.
|
ModifySpotFleetRequestRequest.Builder |
excessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet
request is decreased below the current size of the Spot fleet.
|
ModifySpotFleetRequestRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ModifySpotFleetRequestRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifySpotFleetRequestRequest.Builder |
spotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
ModifySpotFleetRequestRequest.Builder |
targetCapacity(Integer targetCapacity)
The size of the fleet.
|
build
overrideConfiguration
copy
applyMutation, build
ModifySpotFleetRequestRequest.Builder excessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.
excessCapacityTerminationPolicy
- Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet
request is decreased below the current size of the Spot fleet.ExcessCapacityTerminationPolicy
,
ExcessCapacityTerminationPolicy
ModifySpotFleetRequestRequest.Builder excessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.
excessCapacityTerminationPolicy
- Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet
request is decreased below the current size of the Spot fleet.ExcessCapacityTerminationPolicy
,
ExcessCapacityTerminationPolicy
ModifySpotFleetRequestRequest.Builder spotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.ModifySpotFleetRequestRequest.Builder targetCapacity(Integer targetCapacity)
The size of the fleet.
targetCapacity
- The size of the fleet.ModifySpotFleetRequestRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifySpotFleetRequestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.