Struct aws_sdk_workdocs::input::update_user_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateUserInput
.
Implementations§
source§impl Builder
impl Builder
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 AWS 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 AWS 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 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 set_surname(self, input: Option<String>) -> Self
pub fn set_surname(self, input: Option<String>) -> Self
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 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 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 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 Poweruser 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 Poweruser privileges.
sourcepub fn build(self) -> Result<UpdateUserInput, BuildError>
pub fn build(self) -> Result<UpdateUserInput, BuildError>
Consumes the builder and constructs a UpdateUserInput
.