Struct aws_sdk_emr::operation::add_instance_groups::builders::AddInstanceGroupsOutputBuilder
source · #[non_exhaustive]pub struct AddInstanceGroupsOutputBuilder { /* private fields */ }
Expand description
A builder for AddInstanceGroupsOutput
.
Implementations§
source§impl AddInstanceGroupsOutputBuilder
impl AddInstanceGroupsOutputBuilder
sourcepub fn job_flow_id(self, input: impl Into<String>) -> Self
pub fn job_flow_id(self, input: impl Into<String>) -> Self
The job flow ID in which the instance groups are added.
sourcepub fn set_job_flow_id(self, input: Option<String>) -> Self
pub fn set_job_flow_id(self, input: Option<String>) -> Self
The job flow ID in which the instance groups are added.
sourcepub fn get_job_flow_id(&self) -> &Option<String>
pub fn get_job_flow_id(&self) -> &Option<String>
The job flow ID in which the instance groups are added.
sourcepub fn instance_group_ids(self, input: impl Into<String>) -> Self
pub fn instance_group_ids(self, input: impl Into<String>) -> Self
Appends an item to instance_group_ids
.
To override the contents of this collection use set_instance_group_ids
.
Instance group IDs of the newly created instance groups.
sourcepub fn set_instance_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_group_ids(self, input: Option<Vec<String>>) -> Self
Instance group IDs of the newly created instance groups.
sourcepub fn get_instance_group_ids(&self) -> &Option<Vec<String>>
pub fn get_instance_group_ids(&self) -> &Option<Vec<String>>
Instance group IDs of the newly created instance groups.
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name of the cluster.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name of the cluster.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name of the cluster.
sourcepub fn build(self) -> AddInstanceGroupsOutput
pub fn build(self) -> AddInstanceGroupsOutput
Consumes the builder and constructs a AddInstanceGroupsOutput
.
Trait Implementations§
source§impl Clone for AddInstanceGroupsOutputBuilder
impl Clone for AddInstanceGroupsOutputBuilder
source§fn clone(&self) -> AddInstanceGroupsOutputBuilder
fn clone(&self) -> AddInstanceGroupsOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AddInstanceGroupsOutputBuilder
impl Default for AddInstanceGroupsOutputBuilder
source§fn default() -> AddInstanceGroupsOutputBuilder
fn default() -> AddInstanceGroupsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AddInstanceGroupsOutputBuilder
impl PartialEq for AddInstanceGroupsOutputBuilder
source§fn eq(&self, other: &AddInstanceGroupsOutputBuilder) -> bool
fn eq(&self, other: &AddInstanceGroupsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddInstanceGroupsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AddInstanceGroupsOutputBuilder
impl Send for AddInstanceGroupsOutputBuilder
impl Sync for AddInstanceGroupsOutputBuilder
impl Unpin for AddInstanceGroupsOutputBuilder
impl UnwindSafe for AddInstanceGroupsOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.