public static interface ModifySpotFleetRequestRequest.Builder extends Ec2Request.Builder, SdkPojo, 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 |
launchTemplateConfigs(Collection<LaunchTemplateConfig> launchTemplateConfigs)
The launch template and overrides.
|
ModifySpotFleetRequestRequest.Builder |
launchTemplateConfigs(Consumer<LaunchTemplateConfig.Builder>... launchTemplateConfigs)
The launch template and overrides.
|
ModifySpotFleetRequestRequest.Builder |
launchTemplateConfigs(LaunchTemplateConfig... launchTemplateConfigs)
The launch template and overrides.
|
ModifySpotFleetRequestRequest.Builder |
onDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand Instances in the fleet.
|
ModifySpotFleetRequestRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ModifySpotFleetRequestRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ModifySpotFleetRequestRequest.Builder |
spotFleetRequestId(String spotFleetRequestId)
The ID of the Spot Fleet request.
|
ModifySpotFleetRequestRequest.Builder |
targetCapacity(Integer targetCapacity)
The size of the fleet.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
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 launchTemplateConfigs(Collection<LaunchTemplateConfig> launchTemplateConfigs)
The launch template and overrides. You can only use this parameter if you specified a launch template (
LaunchTemplateConfigs
) in your Spot Fleet request. If you specified
LaunchSpecifications
in your Spot Fleet request, then omit this parameter.
launchTemplateConfigs
- The launch template and overrides. You can only use this parameter if you specified a launch template
(LaunchTemplateConfigs
) in your Spot Fleet request. If you specified
LaunchSpecifications
in your Spot Fleet request, then omit this parameter.ModifySpotFleetRequestRequest.Builder launchTemplateConfigs(LaunchTemplateConfig... launchTemplateConfigs)
The launch template and overrides. You can only use this parameter if you specified a launch template (
LaunchTemplateConfigs
) in your Spot Fleet request. If you specified
LaunchSpecifications
in your Spot Fleet request, then omit this parameter.
launchTemplateConfigs
- The launch template and overrides. You can only use this parameter if you specified a launch template
(LaunchTemplateConfigs
) in your Spot Fleet request. If you specified
LaunchSpecifications
in your Spot Fleet request, then omit this parameter.ModifySpotFleetRequestRequest.Builder launchTemplateConfigs(Consumer<LaunchTemplateConfig.Builder>... launchTemplateConfigs)
The launch template and overrides. You can only use this parameter if you specified a launch template (
LaunchTemplateConfigs
) in your Spot Fleet request. If you specified
LaunchSpecifications
in your Spot Fleet request, then omit this parameter.
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #launchTemplateConfigs(List)
.launchTemplateConfigs
- a consumer that will call methods on List.Builder
#launchTemplateConfigs(List)
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 onDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand Instances in the fleet.
onDemandTargetCapacity
- The number of On-Demand Instances in the fleet.ModifySpotFleetRequestRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifySpotFleetRequestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.