Struct aws_sdk_emr::operation::get_auto_termination_policy::builders::GetAutoTerminationPolicyOutputBuilder
source · #[non_exhaustive]pub struct GetAutoTerminationPolicyOutputBuilder { /* private fields */ }Expand description
A builder for GetAutoTerminationPolicyOutput.
Implementations§
source§impl GetAutoTerminationPolicyOutputBuilder
impl GetAutoTerminationPolicyOutputBuilder
sourcepub fn auto_termination_policy(self, input: AutoTerminationPolicy) -> Self
pub fn auto_termination_policy(self, input: AutoTerminationPolicy) -> Self
Specifies the auto-termination policy that is attached to an Amazon EMR cluster.
sourcepub fn set_auto_termination_policy(
self,
input: Option<AutoTerminationPolicy>,
) -> Self
pub fn set_auto_termination_policy( self, input: Option<AutoTerminationPolicy>, ) -> Self
Specifies the auto-termination policy that is attached to an Amazon EMR cluster.
sourcepub fn get_auto_termination_policy(&self) -> &Option<AutoTerminationPolicy>
pub fn get_auto_termination_policy(&self) -> &Option<AutoTerminationPolicy>
Specifies the auto-termination policy that is attached to an Amazon EMR cluster.
sourcepub fn build(self) -> GetAutoTerminationPolicyOutput
pub fn build(self) -> GetAutoTerminationPolicyOutput
Consumes the builder and constructs a GetAutoTerminationPolicyOutput.
Trait Implementations§
source§impl Clone for GetAutoTerminationPolicyOutputBuilder
impl Clone for GetAutoTerminationPolicyOutputBuilder
source§fn clone(&self) -> GetAutoTerminationPolicyOutputBuilder
fn clone(&self) -> GetAutoTerminationPolicyOutputBuilder
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 Default for GetAutoTerminationPolicyOutputBuilder
impl Default for GetAutoTerminationPolicyOutputBuilder
source§fn default() -> GetAutoTerminationPolicyOutputBuilder
fn default() -> GetAutoTerminationPolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetAutoTerminationPolicyOutputBuilder
impl PartialEq for GetAutoTerminationPolicyOutputBuilder
source§fn eq(&self, other: &GetAutoTerminationPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetAutoTerminationPolicyOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetAutoTerminationPolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for GetAutoTerminationPolicyOutputBuilder
impl RefUnwindSafe for GetAutoTerminationPolicyOutputBuilder
impl Send for GetAutoTerminationPolicyOutputBuilder
impl Sync for GetAutoTerminationPolicyOutputBuilder
impl Unpin for GetAutoTerminationPolicyOutputBuilder
impl UnwindSafe for GetAutoTerminationPolicyOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.