Struct aws_sdk_memorydb::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 set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The name of the user
sourcepub fn authentication_mode(self, input: AuthenticationMode) -> Self
pub fn authentication_mode(self, input: AuthenticationMode) -> Self
Denotes the user's authentication properties, such as whether it requires a password to authenticate.
sourcepub fn set_authentication_mode(self, input: Option<AuthenticationMode>) -> Self
pub fn set_authentication_mode(self, input: Option<AuthenticationMode>) -> Self
Denotes the user's authentication properties, such as whether it requires a password to authenticate.
sourcepub fn access_string(self, input: impl Into<String>) -> Self
pub fn access_string(self, input: impl Into<String>) -> Self
Access permissions string used for this user.
sourcepub fn set_access_string(self, input: Option<String>) -> Self
pub fn set_access_string(self, input: Option<String>) -> Self
Access permissions string used for this user.
sourcepub fn build(self) -> Result<UpdateUserInput, BuildError>
pub fn build(self) -> Result<UpdateUserInput, BuildError>
Consumes the builder and constructs a UpdateUserInput
.