Struct aws_sdk_appstream::operation::batch_associate_user_stack::builders::BatchAssociateUserStackFluentBuilder
source · pub struct BatchAssociateUserStackFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchAssociateUserStack
.
Associates the specified users with the specified stacks. Users in a user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.
Implementations§
source§impl BatchAssociateUserStackFluentBuilder
impl BatchAssociateUserStackFluentBuilder
sourcepub fn as_input(&self) -> &BatchAssociateUserStackInputBuilder
pub fn as_input(&self) -> &BatchAssociateUserStackInputBuilder
Access the BatchAssociateUserStack as a reference.
sourcepub async fn send(
self
) -> Result<BatchAssociateUserStackOutput, SdkError<BatchAssociateUserStackError, HttpResponse>>
pub async fn send( self ) -> Result<BatchAssociateUserStackOutput, SdkError<BatchAssociateUserStackError, 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<BatchAssociateUserStackOutput, BatchAssociateUserStackError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchAssociateUserStackOutput, BatchAssociateUserStackError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn user_stack_associations(self, input: UserStackAssociation) -> Self
pub fn user_stack_associations(self, input: UserStackAssociation) -> Self
Appends an item to UserStackAssociations
.
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.
Trait Implementations§
source§impl Clone for BatchAssociateUserStackFluentBuilder
impl Clone for BatchAssociateUserStackFluentBuilder
source§fn clone(&self) -> BatchAssociateUserStackFluentBuilder
fn clone(&self) -> BatchAssociateUserStackFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more