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 ==
.