Struct aws_sdk_elasticache::input::create_user_group_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateUserGroupInput
.
Implementations§
source§impl Builder
impl Builder
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.
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 set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
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.
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<CreateUserGroupInput, BuildError>
pub fn build(self) -> Result<CreateUserGroupInput, BuildError>
Consumes the builder and constructs a CreateUserGroupInput
.