pub struct Builder { /* private fields */ }Expand description
A builder for InstanceFleetProvisioningSpecifications.
Implementations§
source§impl Builder
impl Builder
sourcepub fn spot_specification(self, input: SpotProvisioningSpecification) -> Self
pub fn spot_specification(self, input: SpotProvisioningSpecification) -> Self
The launch specification for Spot Instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
sourcepub fn set_spot_specification(
self,
input: Option<SpotProvisioningSpecification>
) -> Self
pub fn set_spot_specification(
self,
input: Option<SpotProvisioningSpecification>
) -> Self
The launch specification for Spot Instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
sourcepub fn on_demand_specification(
self,
input: OnDemandProvisioningSpecification
) -> Self
pub fn on_demand_specification(
self,
input: OnDemandProvisioningSpecification
) -> Self
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR version 5.12.1 and later.
sourcepub fn set_on_demand_specification(
self,
input: Option<OnDemandProvisioningSpecification>
) -> Self
pub fn set_on_demand_specification(
self,
input: Option<OnDemandProvisioningSpecification>
) -> Self
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR version 5.12.1 and later.
sourcepub fn build(self) -> InstanceFleetProvisioningSpecifications
pub fn build(self) -> InstanceFleetProvisioningSpecifications
Consumes the builder and constructs a InstanceFleetProvisioningSpecifications.