Struct aws_sdk_emr::input::SetTerminationProtectionInput
source · [−]#[non_exhaustive]pub struct SetTerminationProtectionInput { /* private fields */ }Expand description
The input argument to the TerminationProtection operation.
Implementations
sourceimpl SetTerminationProtectionInput
impl SetTerminationProtectionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetTerminationProtection, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetTerminationProtection, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetTerminationProtection>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SetTerminationProtectionInput.
sourceimpl SetTerminationProtectionInput
impl SetTerminationProtectionInput
sourcepub fn job_flow_ids(&self) -> Option<&[String]>
pub fn job_flow_ids(&self) -> Option<&[String]>
A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .
sourcepub fn termination_protected(&self) -> bool
pub fn termination_protected(&self) -> bool
A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.
Trait Implementations
sourceimpl Clone for SetTerminationProtectionInput
impl Clone for SetTerminationProtectionInput
sourcefn clone(&self) -> SetTerminationProtectionInput
fn clone(&self) -> SetTerminationProtectionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SetTerminationProtectionInput
impl Debug for SetTerminationProtectionInput
sourceimpl PartialEq<SetTerminationProtectionInput> for SetTerminationProtectionInput
impl PartialEq<SetTerminationProtectionInput> for SetTerminationProtectionInput
sourcefn eq(&self, other: &SetTerminationProtectionInput) -> bool
fn eq(&self, other: &SetTerminationProtectionInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for SetTerminationProtectionInput
Auto Trait Implementations
impl RefUnwindSafe for SetTerminationProtectionInput
impl Send for SetTerminationProtectionInput
impl Sync for SetTerminationProtectionInput
impl Unpin for SetTerminationProtectionInput
impl UnwindSafe for SetTerminationProtectionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more