Struct aws_sdk_emr::client::fluent_builders::AddInstanceGroups
source · pub struct AddInstanceGroups { /* private fields */ }Expand description
Fluent builder constructing a request to AddInstanceGroups.
Adds one or more instance groups to a running cluster.
Implementations§
source§impl AddInstanceGroups
impl AddInstanceGroups
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AddInstanceGroups, AwsResponseRetryClassifier>, SdkError<AddInstanceGroupsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AddInstanceGroups, AwsResponseRetryClassifier>, SdkError<AddInstanceGroupsError>>
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<AddInstanceGroupsOutput, SdkError<AddInstanceGroupsError>>
pub async fn send(
self
) -> Result<AddInstanceGroupsOutput, SdkError<AddInstanceGroupsError>>
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 instance_groups(self, input: InstanceGroupConfig) -> Self
pub fn instance_groups(self, input: InstanceGroupConfig) -> Self
Appends an item to InstanceGroups.
To override the contents of this collection use set_instance_groups.
Instance groups to add.
sourcepub fn set_instance_groups(self, input: Option<Vec<InstanceGroupConfig>>) -> Self
pub fn set_instance_groups(self, input: Option<Vec<InstanceGroupConfig>>) -> Self
Instance groups to add.
sourcepub fn job_flow_id(self, input: impl Into<String>) -> Self
pub fn job_flow_id(self, input: impl Into<String>) -> Self
Job flow in which to add the instance groups.
sourcepub fn set_job_flow_id(self, input: Option<String>) -> Self
pub fn set_job_flow_id(self, input: Option<String>) -> Self
Job flow in which to add the instance groups.
Trait Implementations§
source§impl Clone for AddInstanceGroups
impl Clone for AddInstanceGroups
source§fn clone(&self) -> AddInstanceGroups
fn clone(&self) -> AddInstanceGroups
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more