Struct aws_sdk_emr::types::builders::AutoTerminationPolicyBuilder
source · #[non_exhaustive]pub struct AutoTerminationPolicyBuilder { /* private fields */ }Expand description
A builder for AutoTerminationPolicy.
Implementations§
source§impl AutoTerminationPolicyBuilder
impl AutoTerminationPolicyBuilder
sourcepub fn idle_timeout(self, input: i64) -> Self
pub fn idle_timeout(self, input: i64) -> Self
Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).
sourcepub fn set_idle_timeout(self, input: Option<i64>) -> Self
pub fn set_idle_timeout(self, input: Option<i64>) -> Self
Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).
sourcepub fn get_idle_timeout(&self) -> &Option<i64>
pub fn get_idle_timeout(&self) -> &Option<i64>
Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).
sourcepub fn build(self) -> AutoTerminationPolicy
pub fn build(self) -> AutoTerminationPolicy
Consumes the builder and constructs a AutoTerminationPolicy.
Trait Implementations§
source§impl Clone for AutoTerminationPolicyBuilder
impl Clone for AutoTerminationPolicyBuilder
source§fn clone(&self) -> AutoTerminationPolicyBuilder
fn clone(&self) -> AutoTerminationPolicyBuilder
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 Debug for AutoTerminationPolicyBuilder
impl Debug for AutoTerminationPolicyBuilder
source§impl Default for AutoTerminationPolicyBuilder
impl Default for AutoTerminationPolicyBuilder
source§fn default() -> AutoTerminationPolicyBuilder
fn default() -> AutoTerminationPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AutoTerminationPolicyBuilder
impl PartialEq for AutoTerminationPolicyBuilder
source§fn eq(&self, other: &AutoTerminationPolicyBuilder) -> bool
fn eq(&self, other: &AutoTerminationPolicyBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AutoTerminationPolicyBuilder
Auto Trait Implementations§
impl Freeze for AutoTerminationPolicyBuilder
impl RefUnwindSafe for AutoTerminationPolicyBuilder
impl Send for AutoTerminationPolicyBuilder
impl Sync for AutoTerminationPolicyBuilder
impl Unpin for AutoTerminationPolicyBuilder
impl UnwindSafe for AutoTerminationPolicyBuilder
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
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>
Creates a shared type from an unshared type.