Struct aws_sdk_elasticache::operation::create_user_group::builders::CreateUserGroupInputBuilder
source · #[non_exhaustive]pub struct CreateUserGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateUserGroupInput
.
Implementations§
source§impl CreateUserGroupInputBuilder
impl CreateUserGroupInputBuilder
sourcepub fn user_group_id(self, input: impl Into<String>) -> Self
pub fn user_group_id(self, input: impl Into<String>) -> Self
The ID of the user group.
This field is required.sourcepub fn set_user_group_id(self, input: Option<String>) -> Self
pub fn set_user_group_id(self, input: Option<String>) -> Self
The ID of the user group.
sourcepub fn get_user_group_id(&self) -> &Option<String>
pub fn get_user_group_id(&self) -> &Option<String>
The ID of the user group.
sourcepub fn engine(self, input: impl Into<String>) -> Self
pub fn engine(self, input: impl Into<String>) -> Self
The current supported value is Redis.
This field is required.sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The current supported value is Redis.
sourcepub fn get_engine(&self) -> &Option<String>
pub fn get_engine(&self) -> &Option<String>
The current supported value is Redis.
sourcepub fn user_ids(self, input: impl Into<String>) -> Self
pub fn user_ids(self, input: impl Into<String>) -> Self
Appends an item to user_ids
.
To override the contents of this collection use set_user_ids
.
The list of user IDs that belong to the user group.
sourcepub fn set_user_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_user_ids(self, input: Option<Vec<String>>) -> Self
The list of user IDs that belong to the user group.
sourcepub fn get_user_ids(&self) -> &Option<Vec<String>>
pub fn get_user_ids(&self) -> &Option<Vec<String>>
The list of user IDs that belong to the user group.
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. Available for Redis only.
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. Available for Redis only.
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. Available for Redis only.
sourcepub fn build(self) -> Result<CreateUserGroupInput, BuildError>
pub fn build(self) -> Result<CreateUserGroupInput, BuildError>
Consumes the builder and constructs a CreateUserGroupInput
.
source§impl CreateUserGroupInputBuilder
impl CreateUserGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateUserGroupOutput, SdkError<CreateUserGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateUserGroupOutput, SdkError<CreateUserGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUserGroupInputBuilder
impl Clone for CreateUserGroupInputBuilder
source§fn clone(&self) -> CreateUserGroupInputBuilder
fn clone(&self) -> CreateUserGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateUserGroupInputBuilder
impl Debug for CreateUserGroupInputBuilder
source§impl Default for CreateUserGroupInputBuilder
impl Default for CreateUserGroupInputBuilder
source§fn default() -> CreateUserGroupInputBuilder
fn default() -> CreateUserGroupInputBuilder
source§impl PartialEq for CreateUserGroupInputBuilder
impl PartialEq for CreateUserGroupInputBuilder
source§fn eq(&self, other: &CreateUserGroupInputBuilder) -> bool
fn eq(&self, other: &CreateUserGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUserGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateUserGroupInputBuilder
impl RefUnwindSafe for CreateUserGroupInputBuilder
impl Send for CreateUserGroupInputBuilder
impl Sync for CreateUserGroupInputBuilder
impl Unpin for CreateUserGroupInputBuilder
impl UnwindSafe for CreateUserGroupInputBuilder
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