#[non_exhaustive]pub struct SetTerminationProtectionInput {
pub job_flow_ids: Option<Vec<String>>,
pub termination_protected: Option<bool>,
}Expand description
The input argument to the TerminationProtection operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.job_flow_ids: Option<Vec<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 .
termination_protected: Option<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.
Implementations§
source§impl SetTerminationProtectionInput
impl SetTerminationProtectionInput
sourcepub fn job_flow_ids(&self) -> &[String]
pub fn job_flow_ids(&self) -> &[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 .
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .job_flow_ids.is_none().
sourcepub fn termination_protected(&self) -> Option<bool>
pub fn termination_protected(&self) -> Option<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.
source§impl SetTerminationProtectionInput
impl SetTerminationProtectionInput
sourcepub fn builder() -> SetTerminationProtectionInputBuilder
pub fn builder() -> SetTerminationProtectionInputBuilder
Creates a new builder-style object to manufacture SetTerminationProtectionInput.
Trait Implementations§
source§impl Clone for SetTerminationProtectionInput
impl Clone for SetTerminationProtectionInput
source§fn clone(&self) -> SetTerminationProtectionInput
fn clone(&self) -> SetTerminationProtectionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for SetTerminationProtectionInput
impl PartialEq for SetTerminationProtectionInput
source§fn eq(&self, other: &SetTerminationProtectionInput) -> bool
fn eq(&self, other: &SetTerminationProtectionInput) -> bool
self and other values to be equal, and is used
by ==.