#[non_exhaustive]pub struct SpotResizingSpecificationBuilder { /* private fields */ }
Expand description
A builder for SpotResizingSpecification
.
Implementations§
source§impl SpotResizingSpecificationBuilder
impl SpotResizingSpecificationBuilder
sourcepub fn timeout_duration_minutes(self, input: i32) -> Self
pub fn timeout_duration_minutes(self, input: i32) -> Self
Spot resize timeout in minutes. If Spot Instances are not provisioned within this time, the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.
This field is required.sourcepub fn set_timeout_duration_minutes(self, input: Option<i32>) -> Self
pub fn set_timeout_duration_minutes(self, input: Option<i32>) -> Self
Spot resize timeout in minutes. If Spot Instances are not provisioned within this time, the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.
sourcepub fn get_timeout_duration_minutes(&self) -> &Option<i32>
pub fn get_timeout_duration_minutes(&self) -> &Option<i32>
Spot resize timeout in minutes. If Spot Instances are not provisioned within this time, the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.
sourcepub fn build(self) -> SpotResizingSpecification
pub fn build(self) -> SpotResizingSpecification
Consumes the builder and constructs a SpotResizingSpecification
.
Trait Implementations§
source§impl Clone for SpotResizingSpecificationBuilder
impl Clone for SpotResizingSpecificationBuilder
source§fn clone(&self) -> SpotResizingSpecificationBuilder
fn clone(&self) -> SpotResizingSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SpotResizingSpecificationBuilder
impl Default for SpotResizingSpecificationBuilder
source§fn default() -> SpotResizingSpecificationBuilder
fn default() -> SpotResizingSpecificationBuilder
source§impl PartialEq for SpotResizingSpecificationBuilder
impl PartialEq for SpotResizingSpecificationBuilder
source§fn eq(&self, other: &SpotResizingSpecificationBuilder) -> bool
fn eq(&self, other: &SpotResizingSpecificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.