Struct aws_sdk_ec2::model::spot_maintenance_strategies::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SpotMaintenanceStrategies
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn capacity_rebalance(self, input: SpotCapacityRebalance) -> Self
pub fn capacity_rebalance(self, input: SpotCapacityRebalance) -> Self
The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances.
sourcepub fn set_capacity_rebalance(self, input: Option<SpotCapacityRebalance>) -> Self
pub fn set_capacity_rebalance(self, input: Option<SpotCapacityRebalance>) -> Self
The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances.
sourcepub fn build(self) -> SpotMaintenanceStrategies
pub fn build(self) -> SpotMaintenanceStrategies
Consumes the builder and constructs a SpotMaintenanceStrategies
.