#[non_exhaustive]pub struct CreateMembersInputBuilder { /* private fields */ }
Expand description
A builder for CreateMembersInput
.
Implementations§
source§impl CreateMembersInputBuilder
impl CreateMembersInputBuilder
sourcepub fn account_details(self, input: AccountDetails) -> Self
pub fn account_details(self, input: AccountDetails) -> Self
Appends an item to account_details
.
To override the contents of this collection use set_account_details
.
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
sourcepub fn set_account_details(self, input: Option<Vec<AccountDetails>>) -> Self
pub fn set_account_details(self, input: Option<Vec<AccountDetails>>) -> Self
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
sourcepub fn get_account_details(&self) -> &Option<Vec<AccountDetails>>
pub fn get_account_details(&self) -> &Option<Vec<AccountDetails>>
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
sourcepub fn build(self) -> Result<CreateMembersInput, BuildError>
pub fn build(self) -> Result<CreateMembersInput, BuildError>
Consumes the builder and constructs a CreateMembersInput
.
source§impl CreateMembersInputBuilder
impl CreateMembersInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateMembersOutput, SdkError<CreateMembersError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateMembersOutput, SdkError<CreateMembersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateMembersInputBuilder
impl Clone for CreateMembersInputBuilder
source§fn clone(&self) -> CreateMembersInputBuilder
fn clone(&self) -> CreateMembersInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateMembersInputBuilder
impl Debug for CreateMembersInputBuilder
source§impl Default for CreateMembersInputBuilder
impl Default for CreateMembersInputBuilder
source§fn default() -> CreateMembersInputBuilder
fn default() -> CreateMembersInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateMembersInputBuilder
impl PartialEq for CreateMembersInputBuilder
source§fn eq(&self, other: &CreateMembersInputBuilder) -> bool
fn eq(&self, other: &CreateMembersInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateMembersInputBuilder
Auto Trait Implementations§
impl Freeze for CreateMembersInputBuilder
impl RefUnwindSafe for CreateMembersInputBuilder
impl Send for CreateMembersInputBuilder
impl Sync for CreateMembersInputBuilder
impl Unpin for CreateMembersInputBuilder
impl UnwindSafe for CreateMembersInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.