#[non_exhaustive]pub struct SpotMaintenanceStrategiesBuilder { /* private fields */ }
Expand description
A builder for SpotMaintenanceStrategies
.
Implementations§
source§impl SpotMaintenanceStrategiesBuilder
impl SpotMaintenanceStrategiesBuilder
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 get_capacity_rebalance(&self) -> &Option<SpotCapacityRebalance>
pub fn get_capacity_rebalance(&self) -> &Option<SpotCapacityRebalance>
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
.
Trait Implementations§
source§impl Clone for SpotMaintenanceStrategiesBuilder
impl Clone for SpotMaintenanceStrategiesBuilder
source§fn clone(&self) -> SpotMaintenanceStrategiesBuilder
fn clone(&self) -> SpotMaintenanceStrategiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SpotMaintenanceStrategiesBuilder
impl Default for SpotMaintenanceStrategiesBuilder
source§fn default() -> SpotMaintenanceStrategiesBuilder
fn default() -> SpotMaintenanceStrategiesBuilder
source§impl PartialEq<SpotMaintenanceStrategiesBuilder> for SpotMaintenanceStrategiesBuilder
impl PartialEq<SpotMaintenanceStrategiesBuilder> for SpotMaintenanceStrategiesBuilder
source§fn eq(&self, other: &SpotMaintenanceStrategiesBuilder) -> bool
fn eq(&self, other: &SpotMaintenanceStrategiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.