Struct aws_sdk_macie2::operation::batch_update_automated_discovery_accounts::builders::BatchUpdateAutomatedDiscoveryAccountsInputBuilder
source · #[non_exhaustive]pub struct BatchUpdateAutomatedDiscoveryAccountsInputBuilder { /* private fields */ }Expand description
A builder for BatchUpdateAutomatedDiscoveryAccountsInput.
Implementations§
source§impl BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl BatchUpdateAutomatedDiscoveryAccountsInputBuilder
sourcepub fn accounts(self, input: AutomatedDiscoveryAccountUpdate) -> Self
pub fn accounts(self, input: AutomatedDiscoveryAccountUpdate) -> Self
Appends an item to accounts.
To override the contents of this collection use set_accounts.
An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account.
sourcepub fn set_accounts(
self,
input: Option<Vec<AutomatedDiscoveryAccountUpdate>>,
) -> Self
pub fn set_accounts( self, input: Option<Vec<AutomatedDiscoveryAccountUpdate>>, ) -> Self
An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account.
sourcepub fn get_accounts(&self) -> &Option<Vec<AutomatedDiscoveryAccountUpdate>>
pub fn get_accounts(&self) -> &Option<Vec<AutomatedDiscoveryAccountUpdate>>
An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account.
sourcepub fn build(
self,
) -> Result<BatchUpdateAutomatedDiscoveryAccountsInput, BuildError>
pub fn build( self, ) -> Result<BatchUpdateAutomatedDiscoveryAccountsInput, BuildError>
Consumes the builder and constructs a BatchUpdateAutomatedDiscoveryAccountsInput.
source§impl BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl BatchUpdateAutomatedDiscoveryAccountsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<BatchUpdateAutomatedDiscoveryAccountsOutput, SdkError<BatchUpdateAutomatedDiscoveryAccountsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<BatchUpdateAutomatedDiscoveryAccountsOutput, SdkError<BatchUpdateAutomatedDiscoveryAccountsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl Clone for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
source§fn clone(&self) -> BatchUpdateAutomatedDiscoveryAccountsInputBuilder
fn clone(&self) -> BatchUpdateAutomatedDiscoveryAccountsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl Default for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
source§fn default() -> BatchUpdateAutomatedDiscoveryAccountsInputBuilder
fn default() -> BatchUpdateAutomatedDiscoveryAccountsInputBuilder
source§impl PartialEq for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl PartialEq for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
source§fn eq(&self, other: &BatchUpdateAutomatedDiscoveryAccountsInputBuilder) -> bool
fn eq(&self, other: &BatchUpdateAutomatedDiscoveryAccountsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
Auto Trait Implementations§
impl Freeze for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl RefUnwindSafe for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl Send for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl Sync for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl Unpin for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
impl UnwindSafe for BatchUpdateAutomatedDiscoveryAccountsInputBuilder
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