#[non_exhaustive]pub struct InstanceFleetModifyConfigBuilder { /* private fields */ }
Expand description
A builder for InstanceFleetModifyConfig
.
Implementations§
source§impl InstanceFleetModifyConfigBuilder
impl InstanceFleetModifyConfigBuilder
sourcepub fn instance_fleet_id(self, input: impl Into<String>) -> Self
pub fn instance_fleet_id(self, input: impl Into<String>) -> Self
A unique identifier for the instance fleet.
This field is required.sourcepub fn set_instance_fleet_id(self, input: Option<String>) -> Self
pub fn set_instance_fleet_id(self, input: Option<String>) -> Self
A unique identifier for the instance fleet.
sourcepub fn get_instance_fleet_id(&self) -> &Option<String>
pub fn get_instance_fleet_id(&self) -> &Option<String>
A unique identifier for the instance fleet.
sourcepub fn target_on_demand_capacity(self, input: i32) -> Self
pub fn target_on_demand_capacity(self, input: i32) -> Self
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity
.
sourcepub fn set_target_on_demand_capacity(self, input: Option<i32>) -> Self
pub fn set_target_on_demand_capacity(self, input: Option<i32>) -> Self
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity
.
sourcepub fn get_target_on_demand_capacity(&self) -> &Option<i32>
pub fn get_target_on_demand_capacity(&self) -> &Option<i32>
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity
.
sourcepub fn target_spot_capacity(self, input: i32) -> Self
pub fn target_spot_capacity(self, input: i32) -> Self
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity
.
sourcepub fn set_target_spot_capacity(self, input: Option<i32>) -> Self
pub fn set_target_spot_capacity(self, input: Option<i32>) -> Self
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity
.
sourcepub fn get_target_spot_capacity(&self) -> &Option<i32>
pub fn get_target_spot_capacity(&self) -> &Option<i32>
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity
.
sourcepub fn resize_specifications(
self,
input: InstanceFleetResizingSpecifications
) -> Self
pub fn resize_specifications( self, input: InstanceFleetResizingSpecifications ) -> Self
The resize specification for the instance fleet.
sourcepub fn set_resize_specifications(
self,
input: Option<InstanceFleetResizingSpecifications>
) -> Self
pub fn set_resize_specifications( self, input: Option<InstanceFleetResizingSpecifications> ) -> Self
The resize specification for the instance fleet.
sourcepub fn get_resize_specifications(
&self
) -> &Option<InstanceFleetResizingSpecifications>
pub fn get_resize_specifications( &self ) -> &Option<InstanceFleetResizingSpecifications>
The resize specification for the instance fleet.
sourcepub fn build(self) -> InstanceFleetModifyConfig
pub fn build(self) -> InstanceFleetModifyConfig
Consumes the builder and constructs a InstanceFleetModifyConfig
.
Trait Implementations§
source§impl Clone for InstanceFleetModifyConfigBuilder
impl Clone for InstanceFleetModifyConfigBuilder
source§fn clone(&self) -> InstanceFleetModifyConfigBuilder
fn clone(&self) -> InstanceFleetModifyConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InstanceFleetModifyConfigBuilder
impl Default for InstanceFleetModifyConfigBuilder
source§fn default() -> InstanceFleetModifyConfigBuilder
fn default() -> InstanceFleetModifyConfigBuilder
source§impl PartialEq for InstanceFleetModifyConfigBuilder
impl PartialEq for InstanceFleetModifyConfigBuilder
source§fn eq(&self, other: &InstanceFleetModifyConfigBuilder) -> bool
fn eq(&self, other: &InstanceFleetModifyConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceFleetModifyConfigBuilder
Auto Trait Implementations§
impl Freeze for InstanceFleetModifyConfigBuilder
impl RefUnwindSafe for InstanceFleetModifyConfigBuilder
impl Send for InstanceFleetModifyConfigBuilder
impl Sync for InstanceFleetModifyConfigBuilder
impl Unpin for InstanceFleetModifyConfigBuilder
impl UnwindSafe for InstanceFleetModifyConfigBuilder
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> 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