#[non_exhaustive]pub struct CreateUserInputBuilder { /* private fields */ }
Expand description
A builder for CreateUserInput
.
Implementations§
source§impl CreateUserInputBuilder
impl CreateUserInputBuilder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The ID of the organization.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The ID of the organization.
sourcepub fn get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
The ID of the organization.
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
The login name of the user.
This field is required.sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The login name of the user.
sourcepub fn get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
The login name of the user.
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The email address of the user.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The email address of the user.
sourcepub fn get_email_address(&self) -> &Option<String>
pub fn get_email_address(&self) -> &Option<String>
The email address of the user.
sourcepub fn given_name(self, input: impl Into<String>) -> Self
pub fn given_name(self, input: impl Into<String>) -> Self
The given name of the user.
This field is required.sourcepub fn set_given_name(self, input: Option<String>) -> Self
pub fn set_given_name(self, input: Option<String>) -> Self
The given name of the user.
sourcepub fn get_given_name(&self) -> &Option<String>
pub fn get_given_name(&self) -> &Option<String>
The given name of the user.
sourcepub fn surname(self, input: impl Into<String>) -> Self
pub fn surname(self, input: impl Into<String>) -> Self
The surname of the user.
This field is required.sourcepub fn set_surname(self, input: Option<String>) -> Self
pub fn set_surname(self, input: Option<String>) -> Self
The surname of the user.
sourcepub fn get_surname(&self) -> &Option<String>
pub fn get_surname(&self) -> &Option<String>
The surname of the user.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
The password of the user.
This field is required.sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The password of the user.
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
The password of the user.
sourcepub fn time_zone_id(self, input: impl Into<String>) -> Self
pub fn time_zone_id(self, input: impl Into<String>) -> Self
The time zone ID of the user.
sourcepub fn set_time_zone_id(self, input: Option<String>) -> Self
pub fn set_time_zone_id(self, input: Option<String>) -> Self
The time zone ID of the user.
sourcepub fn get_time_zone_id(&self) -> &Option<String>
pub fn get_time_zone_id(&self) -> &Option<String>
The time zone ID of the user.
sourcepub fn storage_rule(self, input: StorageRuleType) -> Self
pub fn storage_rule(self, input: StorageRuleType) -> Self
The amount of storage for the user.
sourcepub fn set_storage_rule(self, input: Option<StorageRuleType>) -> Self
pub fn set_storage_rule(self, input: Option<StorageRuleType>) -> Self
The amount of storage for the user.
sourcepub fn get_storage_rule(&self) -> &Option<StorageRuleType>
pub fn get_storage_rule(&self) -> &Option<StorageRuleType>
The amount of storage for the user.
sourcepub fn authentication_token(self, input: impl Into<String>) -> Self
pub fn authentication_token(self, input: impl Into<String>) -> Self
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn set_authentication_token(self, input: Option<String>) -> Self
pub fn set_authentication_token(self, input: Option<String>) -> Self
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn get_authentication_token(&self) -> &Option<String>
pub fn get_authentication_token(&self) -> &Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
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 ==
.