Struct aws_sdk_memorydb::input::create_acl_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateAclInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_acl_name(self, input: Option<String>) -> Self
pub fn set_acl_name(self, input: Option<String>) -> Self
The name of the Access Control List.
sourcepub fn user_names(self, input: impl Into<String>) -> Self
pub fn user_names(self, input: impl Into<String>) -> Self
Appends an item to user_names
.
To override the contents of this collection use set_user_names
.
The list of users that belong to the Access Control List.
sourcepub fn set_user_names(self, input: Option<Vec<String>>) -> Self
pub fn set_user_names(self, input: Option<Vec<String>>) -> Self
The list of users that belong to the Access Control List.
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<CreateAclInput, BuildError>
pub fn build(self) -> Result<CreateAclInput, BuildError>
Consumes the builder and constructs a CreateAclInput
.