public static interface FleetSpotCapacityRebalanceRequest.Builder extends SdkPojo, CopyableBuilder<FleetSpotCapacityRebalanceRequest.Builder,FleetSpotCapacityRebalanceRequest>
| Modifier and Type | Method and Description |
|---|---|
FleetSpotCapacityRebalanceRequest.Builder |
replacementStrategy(FleetReplacementStrategy replacementStrategy)
The replacement strategy to use.
|
FleetSpotCapacityRebalanceRequest.Builder |
replacementStrategy(String replacementStrategy)
The replacement strategy to use.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFleetSpotCapacityRebalanceRequest.Builder replacementStrategy(String replacementStrategy)
The replacement strategy to use. Only available for fleets of type maintain.
To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted
for an existing Spot Instance in the fleet, specify launch. You must specify a value, otherwise
you get an error.
When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can wait until Amazon EC2 interrupts it. You are charged for all instances while they are running.
replacementStrategy - The replacement strategy to use. Only available for fleets of type maintain.
To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is
emitted for an existing Spot Instance in the fleet, specify launch. You must specify a
value, otherwise you get an error.
When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can wait until Amazon EC2 interrupts it. You are charged for all instances while they are running.
FleetReplacementStrategy,
FleetReplacementStrategyFleetSpotCapacityRebalanceRequest.Builder replacementStrategy(FleetReplacementStrategy replacementStrategy)
The replacement strategy to use. Only available for fleets of type maintain.
To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted
for an existing Spot Instance in the fleet, specify launch. You must specify a value, otherwise
you get an error.
When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can wait until Amazon EC2 interrupts it. You are charged for all instances while they are running.
replacementStrategy - The replacement strategy to use. Only available for fleets of type maintain.
To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is
emitted for an existing Spot Instance in the fleet, specify launch. You must specify a
value, otherwise you get an error.
When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can wait until Amazon EC2 interrupts it. You are charged for all instances while they are running.
FleetReplacementStrategy,
FleetReplacementStrategyCopyright © 2020. All rights reserved.