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 ==.impl StructuralPartialEq for BatchGetAccountStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetAccountStatusOutputBuilder
impl RefUnwindSafe for BatchGetAccountStatusOutputBuilder
impl Send for BatchGetAccountStatusOutputBuilder
impl Sync for BatchGetAccountStatusOutputBuilder
impl Unpin for BatchGetAccountStatusOutputBuilder
impl UnwindSafe for BatchGetAccountStatusOutputBuilder
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