pub struct SetTerminationProtectionInput {
pub job_flow_ids: Vec<String>,
pub termination_protected: bool,
}
Expand description
The input argument to the TerminationProtection operation.
Fields§
§job_flow_ids: 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: 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 duplicate 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 SetTerminationProtectionInput
impl Default for SetTerminationProtectionInput
Source§fn default() -> SetTerminationProtectionInput
fn default() -> SetTerminationProtectionInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for SetTerminationProtectionInput
impl PartialEq for SetTerminationProtectionInput
Source§fn eq(&self, other: &SetTerminationProtectionInput) -> bool
fn eq(&self, other: &SetTerminationProtectionInput) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SetTerminationProtectionInput
Auto Trait Implementations§
impl Freeze for SetTerminationProtectionInput
impl RefUnwindSafe for SetTerminationProtectionInput
impl Send for SetTerminationProtectionInput
impl Sync for SetTerminationProtectionInput
impl Unpin for SetTerminationProtectionInput
impl UnwindSafe for SetTerminationProtectionInput
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