Struct aws_sdk_memorydb::operation::create_acl::CreateAclInput
source · #[non_exhaustive]pub struct CreateAclInput {
pub acl_name: Option<String>,
pub user_names: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}
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.acl_name: Option<String>
The name of the Access Control List.
user_names: Option<Vec<String>>
The list of users that belong to the Access Control List.
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.
Implementations§
source§impl CreateAclInput
impl CreateAclInput
sourcepub fn user_names(&self) -> &[String]
pub fn user_names(&self) -> &[String]
The list of users that belong to the Access Control List.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_names.is_none()
.
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()
.
source§impl CreateAclInput
impl CreateAclInput
sourcepub fn builder() -> CreateAclInputBuilder
pub fn builder() -> CreateAclInputBuilder
Creates a new builder-style object to manufacture CreateAclInput
.
Trait Implementations§
source§impl Clone for CreateAclInput
impl Clone for CreateAclInput
source§fn clone(&self) -> CreateAclInput
fn clone(&self) -> CreateAclInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAclInput
impl Debug for CreateAclInput
source§impl PartialEq for CreateAclInput
impl PartialEq for CreateAclInput
source§fn eq(&self, other: &CreateAclInput) -> bool
fn eq(&self, other: &CreateAclInput) -> bool
self
and other
values to be equal, and is used
by ==
.