Struct aws_sdk_emr::operation::add_instance_groups::builders::AddInstanceGroupsFluentBuilder
source · pub struct AddInstanceGroupsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AddInstanceGroups
.
Adds one or more instance groups to a running cluster.
Implementations§
source§impl AddInstanceGroupsFluentBuilder
impl AddInstanceGroupsFluentBuilder
sourcepub fn as_input(&self) -> &AddInstanceGroupsInputBuilder
pub fn as_input(&self) -> &AddInstanceGroupsInputBuilder
Access the AddInstanceGroups as a reference.
sourcepub async fn send(
self
) -> Result<AddInstanceGroupsOutput, SdkError<AddInstanceGroupsError, HttpResponse>>
pub async fn send( self ) -> Result<AddInstanceGroupsOutput, SdkError<AddInstanceGroupsError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<AddInstanceGroupsOutput, AddInstanceGroupsError, Self>
pub fn customize( self ) -> CustomizableOperation<AddInstanceGroupsOutput, AddInstanceGroupsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_instance_groups(&self) -> &Option<Vec<InstanceGroupConfig>>
pub fn get_instance_groups(&self) -> &Option<Vec<InstanceGroupConfig>>
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.
sourcepub fn get_job_flow_id(&self) -> &Option<String>
pub fn get_job_flow_id(&self) -> &Option<String>
Job flow in which to add the instance groups.
Trait Implementations§
source§impl Clone for AddInstanceGroupsFluentBuilder
impl Clone for AddInstanceGroupsFluentBuilder
source§fn clone(&self) -> AddInstanceGroupsFluentBuilder
fn clone(&self) -> AddInstanceGroupsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more