#[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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for SpotMaintenanceStrategiesBuilder
impl Default for SpotMaintenanceStrategiesBuilder
source§fn default() -> SpotMaintenanceStrategiesBuilder
fn default() -> SpotMaintenanceStrategiesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SpotMaintenanceStrategiesBuilder> for SpotMaintenanceStrategiesBuilder
impl PartialEq<SpotMaintenanceStrategiesBuilder> for SpotMaintenanceStrategiesBuilder
source§fn eq(&self, other: &SpotMaintenanceStrategiesBuilder) -> bool
fn eq(&self, other: &SpotMaintenanceStrategiesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SpotMaintenanceStrategiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SpotMaintenanceStrategiesBuilder
impl Send for SpotMaintenanceStrategiesBuilder
impl Sync for SpotMaintenanceStrategiesBuilder
impl Unpin for SpotMaintenanceStrategiesBuilder
impl UnwindSafe for SpotMaintenanceStrategiesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more