Struct aws_sdk_inspector2::operation::batch_get_account_status::builders::BatchGetAccountStatusOutputBuilder
source · #[non_exhaustive]pub struct BatchGetAccountStatusOutputBuilder { /* private fields */ }Expand description
A builder for BatchGetAccountStatusOutput.
Implementations§
source§impl BatchGetAccountStatusOutputBuilder
impl BatchGetAccountStatusOutputBuilder
sourcepub fn accounts(self, input: AccountState) -> Self
pub fn accounts(self, input: AccountState) -> Self
Appends an item to accounts.
To override the contents of this collection use set_accounts.
An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.
sourcepub fn set_accounts(self, input: Option<Vec<AccountState>>) -> Self
pub fn set_accounts(self, input: Option<Vec<AccountState>>) -> Self
An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.
sourcepub fn get_accounts(&self) -> &Option<Vec<AccountState>>
pub fn get_accounts(&self) -> &Option<Vec<AccountState>>
An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.
sourcepub fn failed_accounts(self, input: FailedAccount) -> Self
pub fn failed_accounts(self, input: FailedAccount) -> Self
Appends an item to failed_accounts.
To override the contents of this collection use set_failed_accounts.
An array of objects detailing any accounts that failed to enable Amazon Inspector and why.
sourcepub fn set_failed_accounts(self, input: Option<Vec<FailedAccount>>) -> Self
pub fn set_failed_accounts(self, input: Option<Vec<FailedAccount>>) -> Self
An array of objects detailing any accounts that failed to enable Amazon Inspector and why.
sourcepub fn get_failed_accounts(&self) -> &Option<Vec<FailedAccount>>
pub fn get_failed_accounts(&self) -> &Option<Vec<FailedAccount>>
An array of objects detailing any accounts that failed to enable Amazon Inspector and why.
sourcepub fn build(self) -> Result<BatchGetAccountStatusOutput, BuildError>
pub fn build(self) -> Result<BatchGetAccountStatusOutput, BuildError>
Consumes the builder and constructs a BatchGetAccountStatusOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchGetAccountStatusOutputBuilder
impl Clone for BatchGetAccountStatusOutputBuilder
source§fn clone(&self) -> BatchGetAccountStatusOutputBuilder
fn clone(&self) -> BatchGetAccountStatusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchGetAccountStatusOutputBuilder
impl Default for BatchGetAccountStatusOutputBuilder
source§fn default() -> BatchGetAccountStatusOutputBuilder
fn default() -> BatchGetAccountStatusOutputBuilder
source§impl PartialEq for BatchGetAccountStatusOutputBuilder
impl PartialEq for BatchGetAccountStatusOutputBuilder
source§fn eq(&self, other: &BatchGetAccountStatusOutputBuilder) -> bool
fn eq(&self, other: &BatchGetAccountStatusOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.