#[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 ==
.