public static interface ModifyFleetRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyFleetRequest.Builder,ModifyFleetRequest>
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
ModifyFleetRequest.Builder |
fleetId(String fleetId)
The ID of the EC2 Fleet.
|
ModifyFleetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ModifyFleetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default ModifyFleetRequest.Builder |
targetCapacitySpecification(Consumer<TargetCapacitySpecificationRequest.Builder> targetCapacitySpecification)
The size of the EC2 Fleet.
|
ModifyFleetRequest.Builder |
targetCapacitySpecification(TargetCapacitySpecificationRequest targetCapacitySpecification)
The size of the EC2 Fleet.
|
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 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 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifyFleetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.