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 ==.