#[non_exhaustive]pub struct AddInstanceGroupsInputBuilder { /* private fields */ }Expand description
A builder for AddInstanceGroupsInput.
Implementations§
source§impl AddInstanceGroupsInputBuilder
impl AddInstanceGroupsInputBuilder
sourcepub fn instance_groups(self, input: InstanceGroupConfig) -> Self
pub fn instance_groups(self, input: InstanceGroupConfig) -> Self
Appends an item to instance_groups.
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.
This field is required.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.
sourcepub fn build(self) -> Result<AddInstanceGroupsInput, BuildError>
pub fn build(self) -> Result<AddInstanceGroupsInput, BuildError>
Consumes the builder and constructs a AddInstanceGroupsInput.
source§impl AddInstanceGroupsInputBuilder
impl AddInstanceGroupsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddInstanceGroupsOutput, SdkError<AddInstanceGroupsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddInstanceGroupsOutput, SdkError<AddInstanceGroupsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddInstanceGroupsInputBuilder
impl Clone for AddInstanceGroupsInputBuilder
source§fn clone(&self) -> AddInstanceGroupsInputBuilder
fn clone(&self) -> AddInstanceGroupsInputBuilder
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 AddInstanceGroupsInputBuilder
impl Default for AddInstanceGroupsInputBuilder
source§fn default() -> AddInstanceGroupsInputBuilder
fn default() -> AddInstanceGroupsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AddInstanceGroupsInputBuilder
impl PartialEq for AddInstanceGroupsInputBuilder
source§fn eq(&self, other: &AddInstanceGroupsInputBuilder) -> bool
fn eq(&self, other: &AddInstanceGroupsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddInstanceGroupsInputBuilder
Auto Trait Implementations§
impl Freeze for AddInstanceGroupsInputBuilder
impl RefUnwindSafe for AddInstanceGroupsInputBuilder
impl Send for AddInstanceGroupsInputBuilder
impl Sync for AddInstanceGroupsInputBuilder
impl Unpin for AddInstanceGroupsInputBuilder
impl UnwindSafe for AddInstanceGroupsInputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.