public static interface SpotMaintenanceStrategies.Builder extends SdkPojo, CopyableBuilder<SpotMaintenanceStrategies.Builder,SpotMaintenanceStrategies>
| Modifier and Type | Method and Description |
|---|---|
default SpotMaintenanceStrategies.Builder |
capacityRebalance(Consumer<SpotCapacityRebalance.Builder> capacityRebalance)
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being
interrupted.
|
SpotMaintenanceStrategies.Builder |
capacityRebalance(SpotCapacityRebalance capacityRebalance)
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being
interrupted.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSpotMaintenanceStrategies.Builder capacityRebalance(SpotCapacityRebalance capacityRebalance)
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
capacityRebalance - The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of
being interrupted.default SpotMaintenanceStrategies.Builder capacityRebalance(Consumer<SpotCapacityRebalance.Builder> capacityRebalance)
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
This is a convenience that creates an instance of theSpotCapacityRebalance.Builder avoiding the need
to create one manually via SpotCapacityRebalance.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to capacityRebalance(SpotCapacityRebalance).capacityRebalance - a consumer that will call methods on SpotCapacityRebalance.BuildercapacityRebalance(SpotCapacityRebalance)Copyright © 2021. All rights reserved.