pub struct UpdateUserFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateUser
.
Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.
Implementations§
source§impl UpdateUserFluentBuilder
impl UpdateUserFluentBuilder
sourcepub fn as_input(&self) -> &UpdateUserInputBuilder
pub fn as_input(&self) -> &UpdateUserInputBuilder
Access the UpdateUser as a reference.
sourcepub async fn send(
self
) -> Result<UpdateUserOutput, SdkError<UpdateUserError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateUserOutput, SdkError<UpdateUserError, 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<UpdateUserOutput, UpdateUserError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateUserOutput, UpdateUserError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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.
Trait Implementations§
source§impl Clone for UpdateUserFluentBuilder
impl Clone for UpdateUserFluentBuilder
source§fn clone(&self) -> UpdateUserFluentBuilder
fn clone(&self) -> UpdateUserFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more