#[non_exhaustive]pub struct InstanceFleetResizingSpecificationsBuilder { /* private fields */ }Expand description
A builder for InstanceFleetResizingSpecifications.
Implementations§
source§impl InstanceFleetResizingSpecificationsBuilder
impl InstanceFleetResizingSpecificationsBuilder
sourcepub fn spot_resize_specification(self, input: SpotResizingSpecification) -> Self
pub fn spot_resize_specification(self, input: SpotResizingSpecification) -> Self
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
sourcepub fn set_spot_resize_specification(
self,
input: Option<SpotResizingSpecification>,
) -> Self
pub fn set_spot_resize_specification( self, input: Option<SpotResizingSpecification>, ) -> Self
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
sourcepub fn get_spot_resize_specification(
&self,
) -> &Option<SpotResizingSpecification>
pub fn get_spot_resize_specification( &self, ) -> &Option<SpotResizingSpecification>
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
sourcepub fn on_demand_resize_specification(
self,
input: OnDemandResizingSpecification,
) -> Self
pub fn on_demand_resize_specification( self, input: OnDemandResizingSpecification, ) -> Self
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
sourcepub fn set_on_demand_resize_specification(
self,
input: Option<OnDemandResizingSpecification>,
) -> Self
pub fn set_on_demand_resize_specification( self, input: Option<OnDemandResizingSpecification>, ) -> Self
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
sourcepub fn get_on_demand_resize_specification(
&self,
) -> &Option<OnDemandResizingSpecification>
pub fn get_on_demand_resize_specification( &self, ) -> &Option<OnDemandResizingSpecification>
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
sourcepub fn build(self) -> InstanceFleetResizingSpecifications
pub fn build(self) -> InstanceFleetResizingSpecifications
Consumes the builder and constructs a InstanceFleetResizingSpecifications.
Trait Implementations§
source§impl Clone for InstanceFleetResizingSpecificationsBuilder
impl Clone for InstanceFleetResizingSpecificationsBuilder
source§fn clone(&self) -> InstanceFleetResizingSpecificationsBuilder
fn clone(&self) -> InstanceFleetResizingSpecificationsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for InstanceFleetResizingSpecificationsBuilder
impl Default for InstanceFleetResizingSpecificationsBuilder
source§fn default() -> InstanceFleetResizingSpecificationsBuilder
fn default() -> InstanceFleetResizingSpecificationsBuilder
source§impl PartialEq for InstanceFleetResizingSpecificationsBuilder
impl PartialEq for InstanceFleetResizingSpecificationsBuilder
source§fn eq(&self, other: &InstanceFleetResizingSpecificationsBuilder) -> bool
fn eq(&self, other: &InstanceFleetResizingSpecificationsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InstanceFleetResizingSpecificationsBuilder
Auto Trait Implementations§
impl Freeze for InstanceFleetResizingSpecificationsBuilder
impl RefUnwindSafe for InstanceFleetResizingSpecificationsBuilder
impl Send for InstanceFleetResizingSpecificationsBuilder
impl Sync for InstanceFleetResizingSpecificationsBuilder
impl Unpin for InstanceFleetResizingSpecificationsBuilder
impl UnwindSafe for InstanceFleetResizingSpecificationsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more