Struct aws_sdk_emr::types::SpotResizingSpecification
source · #[non_exhaustive]pub struct SpotResizingSpecification {
pub timeout_duration_minutes: Option<i32>,
}
Expand description
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.timeout_duration_minutes: 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.
Implementations§
source§impl SpotResizingSpecification
impl SpotResizingSpecification
sourcepub fn timeout_duration_minutes(&self) -> Option<i32>
pub fn 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.
source§impl SpotResizingSpecification
impl SpotResizingSpecification
sourcepub fn builder() -> SpotResizingSpecificationBuilder
pub fn builder() -> SpotResizingSpecificationBuilder
Creates a new builder-style object to manufacture SpotResizingSpecification
.
Trait Implementations§
source§impl Clone for SpotResizingSpecification
impl Clone for SpotResizingSpecification
source§fn clone(&self) -> SpotResizingSpecification
fn clone(&self) -> SpotResizingSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpotResizingSpecification
impl Debug for SpotResizingSpecification
impl StructuralPartialEq for SpotResizingSpecification
Auto Trait Implementations§
impl Freeze for SpotResizingSpecification
impl RefUnwindSafe for SpotResizingSpecification
impl Send for SpotResizingSpecification
impl Sync for SpotResizingSpecification
impl Unpin for SpotResizingSpecification
impl UnwindSafe for SpotResizingSpecification
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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