Struct aws_sdk_emr::model::instance_fleet_modify_config::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for InstanceFleetModifyConfig.
Implementations§
source§impl Builder
impl Builder
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.
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 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 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 build(self) -> InstanceFleetModifyConfig
pub fn build(self) -> InstanceFleetModifyConfig
Consumes the builder and constructs a InstanceFleetModifyConfig.