#[non_exhaustive]pub struct OnDemandResizingSpecificationBuilder { /* private fields */ }
Expand description
A builder for OnDemandResizingSpecification
.
Implementations§
source§impl OnDemandResizingSpecificationBuilder
impl OnDemandResizingSpecificationBuilder
sourcepub fn timeout_duration_minutes(self, input: i32) -> Self
pub fn timeout_duration_minutes(self, input: i32) -> Self
On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the 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
On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the 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>
On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the 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) -> OnDemandResizingSpecification
pub fn build(self) -> OnDemandResizingSpecification
Consumes the builder and constructs a OnDemandResizingSpecification
.
Trait Implementations§
source§impl Clone for OnDemandResizingSpecificationBuilder
impl Clone for OnDemandResizingSpecificationBuilder
source§fn clone(&self) -> OnDemandResizingSpecificationBuilder
fn clone(&self) -> OnDemandResizingSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for OnDemandResizingSpecificationBuilder
impl Default for OnDemandResizingSpecificationBuilder
source§fn default() -> OnDemandResizingSpecificationBuilder
fn default() -> OnDemandResizingSpecificationBuilder
source§impl PartialEq for OnDemandResizingSpecificationBuilder
impl PartialEq for OnDemandResizingSpecificationBuilder
source§fn eq(&self, other: &OnDemandResizingSpecificationBuilder) -> bool
fn eq(&self, other: &OnDemandResizingSpecificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OnDemandResizingSpecificationBuilder
Auto Trait Implementations§
impl Freeze for OnDemandResizingSpecificationBuilder
impl RefUnwindSafe for OnDemandResizingSpecificationBuilder
impl Send for OnDemandResizingSpecificationBuilder
impl Sync for OnDemandResizingSpecificationBuilder
impl Unpin for OnDemandResizingSpecificationBuilder
impl UnwindSafe for OnDemandResizingSpecificationBuilder
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