#[non_exhaustive]pub struct UpdateUserInputBuilder { /* private fields */ }
Expand description
A builder for UpdateUserInput
.
Implementations§
source§impl UpdateUserInputBuilder
impl UpdateUserInputBuilder
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 user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The ID of the user.
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 ID of the user.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The ID 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.
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 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 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 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 locale(self, input: LocaleType) -> Self
pub fn locale(self, input: LocaleType) -> Self
The locale of the user.
sourcepub fn set_locale(self, input: Option<LocaleType>) -> Self
pub fn set_locale(self, input: Option<LocaleType>) -> Self
The locale of the user.
sourcepub fn get_locale(&self) -> &Option<LocaleType>
pub fn get_locale(&self) -> &Option<LocaleType>
The locale of the user.
sourcepub fn grant_poweruser_privileges(self, input: BooleanEnumType) -> Self
pub fn grant_poweruser_privileges(self, input: BooleanEnumType) -> Self
Boolean value to determine whether the user is granted Power user privileges.
sourcepub fn set_grant_poweruser_privileges(
self,
input: Option<BooleanEnumType>
) -> Self
pub fn set_grant_poweruser_privileges( self, input: Option<BooleanEnumType> ) -> Self
Boolean value to determine whether the user is granted Power user privileges.
sourcepub fn get_grant_poweruser_privileges(&self) -> &Option<BooleanEnumType>
pub fn get_grant_poweruser_privileges(&self) -> &Option<BooleanEnumType>
Boolean value to determine whether the user is granted Power user privileges.
sourcepub fn build(self) -> Result<UpdateUserInput, BuildError>
pub fn build(self) -> Result<UpdateUserInput, BuildError>
Consumes the builder and constructs a UpdateUserInput
.
source§impl UpdateUserInputBuilder
impl UpdateUserInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateUserOutput, SdkError<UpdateUserError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateUserOutput, SdkError<UpdateUserError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateUserInputBuilder
impl Clone for UpdateUserInputBuilder
source§fn clone(&self) -> UpdateUserInputBuilder
fn clone(&self) -> UpdateUserInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateUserInputBuilder
impl Debug for UpdateUserInputBuilder
source§impl Default for UpdateUserInputBuilder
impl Default for UpdateUserInputBuilder
source§fn default() -> UpdateUserInputBuilder
fn default() -> UpdateUserInputBuilder
source§impl PartialEq for UpdateUserInputBuilder
impl PartialEq for UpdateUserInputBuilder
source§fn eq(&self, other: &UpdateUserInputBuilder) -> bool
fn eq(&self, other: &UpdateUserInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.