pub struct CreateUserFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateUser.
Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.
Implementations§
source§impl CreateUserFluentBuilder
impl CreateUserFluentBuilder
sourcepub fn as_input(&self) -> &CreateUserInputBuilder
pub fn as_input(&self) -> &CreateUserInputBuilder
Access the CreateUser as a reference.
sourcepub async fn send(
self
) -> Result<CreateUserOutput, SdkError<CreateUserError, HttpResponse>>
pub async fn send( self ) -> Result<CreateUserOutput, SdkError<CreateUserError, 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<CreateUserOutput, CreateUserError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateUserOutput, CreateUserError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The identifier of the application for which the user mapping will be created.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The identifier of the application for which the user mapping will be created.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The identifier of the application for which the user mapping will be created.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The user emails attached to a user mapping.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The user emails attached to a user mapping.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The user emails attached to a user mapping.
sourcepub fn user_aliases(self, input: UserAlias) -> Self
pub fn user_aliases(self, input: UserAlias) -> Self
Appends an item to userAliases.
To override the contents of this collection use set_user_aliases.
The list of user aliases in the mapping.
sourcepub fn set_user_aliases(self, input: Option<Vec<UserAlias>>) -> Self
pub fn set_user_aliases(self, input: Option<Vec<UserAlias>>) -> Self
The list of user aliases in the mapping.
sourcepub fn get_user_aliases(&self) -> &Option<Vec<UserAlias>>
pub fn get_user_aliases(&self) -> &Option<Vec<UserAlias>>
The list of user aliases in the mapping.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A token that you provide to identify the request to create your Amazon Q user mapping.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A token that you provide to identify the request to create your Amazon Q user mapping.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A token that you provide to identify the request to create your Amazon Q user mapping.
Trait Implementations§
source§impl Clone for CreateUserFluentBuilder
impl Clone for CreateUserFluentBuilder
source§fn clone(&self) -> CreateUserFluentBuilder
fn clone(&self) -> CreateUserFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more