Struct aws_sdk_emr::operation::set_unhealthy_node_replacement::builders::SetUnhealthyNodeReplacementInputBuilder
source · #[non_exhaustive]pub struct SetUnhealthyNodeReplacementInputBuilder { /* private fields */ }Expand description
A builder for SetUnhealthyNodeReplacementInput.
Implementations§
source§impl SetUnhealthyNodeReplacementInputBuilder
impl SetUnhealthyNodeReplacementInputBuilder
sourcepub fn job_flow_ids(self, input: impl Into<String>) -> Self
pub fn job_flow_ids(self, input: impl Into<String>) -> Self
Appends an item to job_flow_ids.
To override the contents of this collection use set_job_flow_ids.
The list of strings that uniquely identify the clusters for which to turn on unhealthy node replacement. You can get these identifiers by running the RunJobFlow or the DescribeJobFlows operations.
sourcepub fn set_job_flow_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_job_flow_ids(self, input: Option<Vec<String>>) -> Self
The list of strings that uniquely identify the clusters for which to turn on unhealthy node replacement. You can get these identifiers by running the RunJobFlow or the DescribeJobFlows operations.
sourcepub fn get_job_flow_ids(&self) -> &Option<Vec<String>>
pub fn get_job_flow_ids(&self) -> &Option<Vec<String>>
The list of strings that uniquely identify the clusters for which to turn on unhealthy node replacement. You can get these identifiers by running the RunJobFlow or the DescribeJobFlows operations.
sourcepub fn unhealthy_node_replacement(self, input: bool) -> Self
pub fn unhealthy_node_replacement(self, input: bool) -> Self
Indicates whether to turn on or turn off graceful unhealthy node replacement.
This field is required.sourcepub fn set_unhealthy_node_replacement(self, input: Option<bool>) -> Self
pub fn set_unhealthy_node_replacement(self, input: Option<bool>) -> Self
Indicates whether to turn on or turn off graceful unhealthy node replacement.
sourcepub fn get_unhealthy_node_replacement(&self) -> &Option<bool>
pub fn get_unhealthy_node_replacement(&self) -> &Option<bool>
Indicates whether to turn on or turn off graceful unhealthy node replacement.
sourcepub fn build(self) -> Result<SetUnhealthyNodeReplacementInput, BuildError>
pub fn build(self) -> Result<SetUnhealthyNodeReplacementInput, BuildError>
Consumes the builder and constructs a SetUnhealthyNodeReplacementInput.
source§impl SetUnhealthyNodeReplacementInputBuilder
impl SetUnhealthyNodeReplacementInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<SetUnhealthyNodeReplacementOutput, SdkError<SetUnhealthyNodeReplacementError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<SetUnhealthyNodeReplacementOutput, SdkError<SetUnhealthyNodeReplacementError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetUnhealthyNodeReplacementInputBuilder
impl Clone for SetUnhealthyNodeReplacementInputBuilder
source§fn clone(&self) -> SetUnhealthyNodeReplacementInputBuilder
fn clone(&self) -> SetUnhealthyNodeReplacementInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SetUnhealthyNodeReplacementInputBuilder
impl Default for SetUnhealthyNodeReplacementInputBuilder
source§fn default() -> SetUnhealthyNodeReplacementInputBuilder
fn default() -> SetUnhealthyNodeReplacementInputBuilder
source§impl PartialEq for SetUnhealthyNodeReplacementInputBuilder
impl PartialEq for SetUnhealthyNodeReplacementInputBuilder
source§fn eq(&self, other: &SetUnhealthyNodeReplacementInputBuilder) -> bool
fn eq(&self, other: &SetUnhealthyNodeReplacementInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetUnhealthyNodeReplacementInputBuilder
Auto Trait Implementations§
impl Freeze for SetUnhealthyNodeReplacementInputBuilder
impl RefUnwindSafe for SetUnhealthyNodeReplacementInputBuilder
impl Send for SetUnhealthyNodeReplacementInputBuilder
impl Sync for SetUnhealthyNodeReplacementInputBuilder
impl Unpin for SetUnhealthyNodeReplacementInputBuilder
impl UnwindSafe for SetUnhealthyNodeReplacementInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more