public static interface ModifyFleetRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyFleetRequest.Builder,ModifyFleetRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifyFleetRequest.Builder excessCapacityTerminationPolicy(String excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
excessCapacityTerminationPolicy
- Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet
is decreased below the current size of the EC2 Fleet.FleetExcessCapacityTerminationPolicy
,
FleetExcessCapacityTerminationPolicy
ModifyFleetRequest.Builder excessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
excessCapacityTerminationPolicy
- Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet
is decreased below the current size of the EC2 Fleet.FleetExcessCapacityTerminationPolicy
,
FleetExcessCapacityTerminationPolicy
ModifyFleetRequest.Builder launchTemplateConfigs(Collection<FleetLaunchTemplateConfigRequest> launchTemplateConfigs)
The launch template and overrides.
launchTemplateConfigs
- The launch template and overrides.ModifyFleetRequest.Builder launchTemplateConfigs(FleetLaunchTemplateConfigRequest... launchTemplateConfigs)
The launch template and overrides.
launchTemplateConfigs
- The launch template and overrides.ModifyFleetRequest.Builder launchTemplateConfigs(Consumer<FleetLaunchTemplateConfigRequest.Builder>... launchTemplateConfigs)
The launch template and overrides.
This is a convenience method that creates an instance of the.Builder
avoiding the need to create one manually via #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)
ModifyFleetRequest.Builder fleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.ModifyFleetRequest.Builder targetCapacitySpecification(TargetCapacitySpecificationRequest targetCapacitySpecification)
The size of the EC2 Fleet.
targetCapacitySpecification
- The size of the EC2 Fleet.default ModifyFleetRequest.Builder targetCapacitySpecification(Consumer<TargetCapacitySpecificationRequest.Builder> targetCapacitySpecification)
The size of the EC2 Fleet.
This is a convenience method that creates an instance of theTargetCapacitySpecificationRequest.Builder
avoiding the need to create one manually via
TargetCapacitySpecificationRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
targetCapacitySpecification(TargetCapacitySpecificationRequest)
.targetCapacitySpecification
- a consumer that will call methods on TargetCapacitySpecificationRequest.Builder
targetCapacitySpecification(TargetCapacitySpecificationRequest)
ModifyFleetRequest.Builder context(String context)
Reserved.
context
- Reserved.ModifyFleetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifyFleetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.