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 ==
.impl StructuralPartialEq for CreateUserInput
Auto Trait Implementations§
impl Freeze for CreateUserInput
impl RefUnwindSafe for CreateUserInput
impl Send for CreateUserInput
impl Sync for CreateUserInput
impl Unpin for CreateUserInput
impl UnwindSafe for CreateUserInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more