Struct aws_sdk_appstream::operation::batch_associate_user_stack::builders::BatchAssociateUserStackInputBuilder
source · #[non_exhaustive]pub struct BatchAssociateUserStackInputBuilder { /* private fields */ }
Expand description
A builder for BatchAssociateUserStackInput
.
Implementations§
source§impl BatchAssociateUserStackInputBuilder
impl BatchAssociateUserStackInputBuilder
sourcepub fn user_stack_associations(self, input: UserStackAssociation) -> Self
pub fn user_stack_associations(self, input: UserStackAssociation) -> Self
Appends an item to user_stack_associations
.
To override the contents of this collection use set_user_stack_associations
.
The list of UserStackAssociation objects.
sourcepub fn set_user_stack_associations(
self,
input: Option<Vec<UserStackAssociation>>
) -> Self
pub fn set_user_stack_associations( self, input: Option<Vec<UserStackAssociation>> ) -> Self
The list of UserStackAssociation objects.
sourcepub fn get_user_stack_associations(&self) -> &Option<Vec<UserStackAssociation>>
pub fn get_user_stack_associations(&self) -> &Option<Vec<UserStackAssociation>>
The list of UserStackAssociation objects.
sourcepub fn build(self) -> Result<BatchAssociateUserStackInput, BuildError>
pub fn build(self) -> Result<BatchAssociateUserStackInput, BuildError>
Consumes the builder and constructs a BatchAssociateUserStackInput
.
source§impl BatchAssociateUserStackInputBuilder
impl BatchAssociateUserStackInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchAssociateUserStackOutput, SdkError<BatchAssociateUserStackError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchAssociateUserStackOutput, SdkError<BatchAssociateUserStackError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchAssociateUserStackInputBuilder
impl Clone for BatchAssociateUserStackInputBuilder
source§fn clone(&self) -> BatchAssociateUserStackInputBuilder
fn clone(&self) -> BatchAssociateUserStackInputBuilder
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 BatchAssociateUserStackInputBuilder
impl Default for BatchAssociateUserStackInputBuilder
source§fn default() -> BatchAssociateUserStackInputBuilder
fn default() -> BatchAssociateUserStackInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchAssociateUserStackInputBuilder
impl PartialEq for BatchAssociateUserStackInputBuilder
source§fn eq(&self, other: &BatchAssociateUserStackInputBuilder) -> bool
fn eq(&self, other: &BatchAssociateUserStackInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchAssociateUserStackInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchAssociateUserStackInputBuilder
impl Send for BatchAssociateUserStackInputBuilder
impl Sync for BatchAssociateUserStackInputBuilder
impl Unpin for BatchAssociateUserStackInputBuilder
impl UnwindSafe for BatchAssociateUserStackInputBuilder
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.