#[non_exhaustive]pub struct CreateUserInputBuilder { /* private fields */ }Expand description
A builder for CreateUserInput.
Implementations§
source§impl CreateUserInputBuilder
impl CreateUserInputBuilder
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.
This field is required.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.
This field is required.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 user_aliases.
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.
sourcepub fn build(self) -> Result<CreateUserInput, BuildError>
pub fn build(self) -> Result<CreateUserInput, BuildError>
Consumes the builder and constructs a CreateUserInput.
source§impl CreateUserInputBuilder
impl CreateUserInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateUserOutput, SdkError<CreateUserError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateUserOutput, SdkError<CreateUserError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUserInputBuilder
impl Clone for CreateUserInputBuilder
source§fn clone(&self) -> CreateUserInputBuilder
fn clone(&self) -> CreateUserInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateUserInputBuilder
impl Debug for CreateUserInputBuilder
source§impl Default for CreateUserInputBuilder
impl Default for CreateUserInputBuilder
source§fn default() -> CreateUserInputBuilder
fn default() -> CreateUserInputBuilder
source§impl PartialEq for CreateUserInputBuilder
impl PartialEq for CreateUserInputBuilder
source§fn eq(&self, other: &CreateUserInputBuilder) -> bool
fn eq(&self, other: &CreateUserInputBuilder) -> bool
self and other values to be equal, and is used
by ==.