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 async fn customize(
self
) -> Result<CustomizableOperation<BatchAssociateUserStack, AwsResponseRetryClassifier>, SdkError<BatchAssociateUserStackError>>
pub async fn customize( self ) -> Result<CustomizableOperation<BatchAssociateUserStack, AwsResponseRetryClassifier>, SdkError<BatchAssociateUserStackError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<BatchAssociateUserStackOutput, SdkError<BatchAssociateUserStackError>>
pub async fn send( self ) -> Result<BatchAssociateUserStackOutput, SdkError<BatchAssociateUserStackError>>
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 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.
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