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)
Add an optional request override configuration.
|
ModifyFleetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildoverrideConfigurationcopyapplyMutation, buildModifyFleetRequest.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,
FleetExcessCapacityTerminationPolicyModifyFleetRequest.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,
FleetExcessCapacityTerminationPolicyModifyFleetRequest.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.BuildertargetCapacitySpecification(TargetCapacitySpecificationRequest)ModifyFleetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.ModifyFleetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.