public static interface ModifyFleetRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyFleetRequest.Builder,ModifyFleetRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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 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 that creates an instance of theList.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) 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.BuildertargetCapacitySpecification(TargetCapacitySpecificationRequest)ModifyFleetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifyFleetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.