Struct aws_sdk_elasticache::operation::create_user::CreateUserInput
source · #[non_exhaustive]pub struct CreateUserInput {
pub user_id: Option<String>,
pub user_name: Option<String>,
pub engine: Option<String>,
pub passwords: Option<Vec<String>>,
pub access_string: Option<String>,
pub no_password_required: Option<bool>,
pub tags: Option<Vec<Tag>>,
pub authentication_mode: Option<AuthenticationMode>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.user_id: Option<String>
The ID of the user.
user_name: Option<String>
The username of the user.
engine: Option<String>
The current supported value is Redis.
passwords: Option<Vec<String>>
Passwords used for this user. You can create up to two passwords for each user.
access_string: Option<String>
Access permissions string used for this user.
no_password_required: Option<bool>
Indicates a password is not required for this user.
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.
authentication_mode: Option<AuthenticationMode>
Specifies how to authenticate the user.
Implementations§
source§impl CreateUserInput
impl CreateUserInput
sourcepub fn passwords(&self) -> &[String]
pub fn passwords(&self) -> &[String]
Passwords used for this user. You can create up to two passwords for each user.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .passwords.is_none()
.
sourcepub fn access_string(&self) -> Option<&str>
pub fn access_string(&self) -> Option<&str>
Access permissions string used for this user.
sourcepub fn no_password_required(&self) -> Option<bool>
pub fn no_password_required(&self) -> Option<bool>
Indicates a password is not required for this user.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn authentication_mode(&self) -> Option<&AuthenticationMode>
pub fn authentication_mode(&self) -> Option<&AuthenticationMode>
Specifies how to authenticate the user.
source§impl CreateUserInput
impl CreateUserInput
sourcepub fn builder() -> CreateUserInputBuilder
pub fn builder() -> CreateUserInputBuilder
Creates a new builder-style object to manufacture CreateUserInput
.
Trait Implementations§
source§impl Clone for CreateUserInput
impl Clone for CreateUserInput
source§fn clone(&self) -> CreateUserInput
fn clone(&self) -> CreateUserInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateUserInput
impl Debug for CreateUserInput
source§impl PartialEq for CreateUserInput
impl PartialEq for CreateUserInput
source§fn eq(&self, other: &CreateUserInput) -> bool
fn eq(&self, other: &CreateUserInput) -> bool
self
and other
values to be equal, and is used
by ==
.