#[non_exhaustive]pub struct CreateAclInputBuilder { /* private fields */ }
Expand description
A builder for CreateAclInput
.
Implementations§
source§impl CreateAclInputBuilder
impl CreateAclInputBuilder
sourcepub fn acl_name(self, input: impl Into<String>) -> Self
pub fn acl_name(self, input: impl Into<String>) -> Self
The name of the Access Control List.
This field is required.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 get_acl_name(&self) -> &Option<String>
pub fn get_acl_name(&self) -> &Option<String>
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.
sourcepub fn get_user_names(&self) -> &Option<Vec<String>>
pub fn get_user_names(&self) -> &Option<Vec<String>>
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.
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
.
source§impl CreateAclInputBuilder
impl CreateAclInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAclOutput, SdkError<CreateACLError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAclOutput, SdkError<CreateACLError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAclInputBuilder
impl Clone for CreateAclInputBuilder
source§fn clone(&self) -> CreateAclInputBuilder
fn clone(&self) -> CreateAclInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAclInputBuilder
impl Debug for CreateAclInputBuilder
source§impl Default for CreateAclInputBuilder
impl Default for CreateAclInputBuilder
source§fn default() -> CreateAclInputBuilder
fn default() -> CreateAclInputBuilder
source§impl PartialEq for CreateAclInputBuilder
impl PartialEq for CreateAclInputBuilder
source§fn eq(&self, other: &CreateAclInputBuilder) -> bool
fn eq(&self, other: &CreateAclInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.