Struct aws_sdk_emr::input::SetTerminationProtectionInput  
source · #[non_exhaustive]pub struct SetTerminationProtectionInput { /* private fields */ }Expand description
 The input argument to the TerminationProtection operation. 
Implementations§
source§impl 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.
source§impl 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§
source§impl Clone for SetTerminationProtectionInput
 
impl Clone for SetTerminationProtectionInput
source§fn clone(&self) -> SetTerminationProtectionInput
 
fn clone(&self) -> SetTerminationProtectionInput
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 PartialEq<SetTerminationProtectionInput> for SetTerminationProtectionInput
 
impl PartialEq<SetTerminationProtectionInput> for SetTerminationProtectionInput
source§fn 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 ==.