Struct aws_sdk_emr::client::fluent_builders::ModifyCluster
source · pub struct ModifyCluster { /* private fields */ }Expand description
Fluent builder constructing a request to ModifyCluster.
Modifies the number of steps that can be executed concurrently for the cluster specified using ClusterID.
Implementations§
source§impl ModifyCluster
impl ModifyCluster
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ModifyCluster, AwsResponseRetryClassifier>, SdkError<ModifyClusterError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ModifyCluster, AwsResponseRetryClassifier>, SdkError<ModifyClusterError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ModifyClusterOutput, SdkError<ModifyClusterError>>
pub async fn send(
self
) -> Result<ModifyClusterOutput, SdkError<ModifyClusterError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The unique identifier of the cluster.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The unique identifier of the cluster.
sourcepub fn step_concurrency_level(self, input: i32) -> Self
pub fn step_concurrency_level(self, input: i32) -> Self
The number of steps that can be executed concurrently. You can specify a minimum of 1 step and a maximum of 256 steps. We recommend that you do not change this parameter while steps are running or the ActionOnFailure setting may not behave as expected. For more information see Step$ActionOnFailure.
sourcepub fn set_step_concurrency_level(self, input: Option<i32>) -> Self
pub fn set_step_concurrency_level(self, input: Option<i32>) -> Self
The number of steps that can be executed concurrently. You can specify a minimum of 1 step and a maximum of 256 steps. We recommend that you do not change this parameter while steps are running or the ActionOnFailure setting may not behave as expected. For more information see Step$ActionOnFailure.
Trait Implementations§
source§impl Clone for ModifyCluster
impl Clone for ModifyCluster
source§fn clone(&self) -> ModifyCluster
fn clone(&self) -> ModifyCluster
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more