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, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetTerminationProtection, AwsResponseRetryClassifier>, 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 moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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