#[non_exhaustive]pub struct CreateMemberInputBuilder { /* private fields */ }Expand description
A builder for CreateMemberInput.
Implementations§
source§impl CreateMemberInputBuilder
impl CreateMemberInputBuilder
sourcepub fn account(self, input: AccountDetail) -> Self
pub fn account(self, input: AccountDetail) -> Self
The details of the account to associate with the administrator account.
This field is required.sourcepub fn set_account(self, input: Option<AccountDetail>) -> Self
pub fn set_account(self, input: Option<AccountDetail>) -> Self
The details of the account to associate with the administrator account.
sourcepub fn get_account(&self) -> &Option<AccountDetail>
pub fn get_account(&self) -> &Option<AccountDetail>
The details of the account to associate with the administrator account.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
sourcepub fn build(self) -> Result<CreateMemberInput, BuildError>
pub fn build(self) -> Result<CreateMemberInput, BuildError>
Consumes the builder and constructs a CreateMemberInput.
source§impl CreateMemberInputBuilder
impl CreateMemberInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateMemberOutput, SdkError<CreateMemberError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateMemberOutput, SdkError<CreateMemberError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateMemberInputBuilder
impl Clone for CreateMemberInputBuilder
source§fn clone(&self) -> CreateMemberInputBuilder
fn clone(&self) -> CreateMemberInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateMemberInputBuilder
impl Debug for CreateMemberInputBuilder
source§impl Default for CreateMemberInputBuilder
impl Default for CreateMemberInputBuilder
source§fn default() -> CreateMemberInputBuilder
fn default() -> CreateMemberInputBuilder
source§impl PartialEq for CreateMemberInputBuilder
impl PartialEq for CreateMemberInputBuilder
source§fn eq(&self, other: &CreateMemberInputBuilder) -> bool
fn eq(&self, other: &CreateMemberInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateMemberInputBuilder
Auto Trait Implementations§
impl Freeze for CreateMemberInputBuilder
impl RefUnwindSafe for CreateMemberInputBuilder
impl Send for CreateMemberInputBuilder
impl Sync for CreateMemberInputBuilder
impl Unpin for CreateMemberInputBuilder
impl UnwindSafe for CreateMemberInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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