#[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 ==
.impl StructuralPartialEq for CreateAclInputBuilder
Auto Trait Implementations§
impl Freeze for CreateAclInputBuilder
impl RefUnwindSafe for CreateAclInputBuilder
impl Send for CreateAclInputBuilder
impl Sync for CreateAclInputBuilder
impl Unpin for CreateAclInputBuilder
impl UnwindSafe for CreateAclInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more