Struct aws_sdk_emr::types::OnDemandResizingSpecification
source · #[non_exhaustive]pub struct OnDemandResizingSpecification { /* private fields */ }Expand description
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
Implementations§
source§impl OnDemandResizingSpecification
impl OnDemandResizingSpecification
sourcepub fn timeout_duration_minutes(&self) -> Option<i32>
pub fn 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.
source§impl OnDemandResizingSpecification
impl OnDemandResizingSpecification
sourcepub fn builder() -> OnDemandResizingSpecificationBuilder
pub fn builder() -> OnDemandResizingSpecificationBuilder
Creates a new builder-style object to manufacture OnDemandResizingSpecification.
Trait Implementations§
source§impl Clone for OnDemandResizingSpecification
impl Clone for OnDemandResizingSpecification
source§fn clone(&self) -> OnDemandResizingSpecification
fn clone(&self) -> OnDemandResizingSpecification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq<OnDemandResizingSpecification> for OnDemandResizingSpecification
impl PartialEq<OnDemandResizingSpecification> for OnDemandResizingSpecification
source§fn eq(&self, other: &OnDemandResizingSpecification) -> bool
fn eq(&self, other: &OnDemandResizingSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OnDemandResizingSpecification
Auto Trait Implementations§
impl RefUnwindSafe for OnDemandResizingSpecification
impl Send for OnDemandResizingSpecification
impl Sync for OnDemandResizingSpecification
impl Unpin for OnDemandResizingSpecification
impl UnwindSafe for OnDemandResizingSpecification
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
Mutably borrows from an owned value. Read more