Struct aws_sdk_memorydb::input::create_user_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateUserInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The name of the user. This value must be unique as it also serves as the user identifier.
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. This value must be unique as it also serves as the user identifier.
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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
sourcepub fn build(self) -> Result<CreateUserInput, BuildError>
pub fn build(self) -> Result<CreateUserInput, BuildError>
Consumes the builder and constructs a CreateUserInput
.