public static interface ModifySpotFleetRequestRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifySpotFleetRequestRequest.Builder,ModifySpotFleetRequestRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifySpotFleetRequestRequest.Builder excessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
Supported only for fleets of type maintain.
excessCapacityTerminationPolicy - Indicates whether running instances should be terminated if the target capacity of the Spot Fleet
request is decreased below the current size of the Spot Fleet.
Supported only for fleets of type maintain.
ExcessCapacityTerminationPolicy,
ExcessCapacityTerminationPolicyModifySpotFleetRequestRequest.Builder excessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
Supported only for fleets of type maintain.
excessCapacityTerminationPolicy - Indicates whether running instances should be terminated if the target capacity of the Spot Fleet
request is decreased below the current size of the Spot Fleet.
Supported only for fleets of type maintain.
ExcessCapacityTerminationPolicy,
ExcessCapacityTerminationPolicyModifySpotFleetRequestRequest.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.
LaunchTemplateConfig.Builder avoiding the need to create
one manually via LaunchTemplateConfig.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #launchTemplateConfigs(List.
launchTemplateConfigs - a consumer that will call methods on
LaunchTemplateConfig.Builder#launchTemplateConfigs(java.util.Collection) 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 context(String context)
Reserved.
context - Reserved.ModifySpotFleetRequestRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifySpotFleetRequestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.