Struct aws_sdk_inspector2::operation::disable::builders::DisableOutputBuilder
source · #[non_exhaustive]pub struct DisableOutputBuilder { /* private fields */ }Expand description
A builder for DisableOutput.
Implementations§
source§impl DisableOutputBuilder
impl DisableOutputBuilder
sourcepub fn accounts(self, input: Account) -> Self
pub fn accounts(self, input: Account) -> Self
Appends an item to accounts.
To override the contents of this collection use set_accounts.
Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.
sourcepub fn set_accounts(self, input: Option<Vec<Account>>) -> Self
pub fn set_accounts(self, input: Option<Vec<Account>>) -> Self
Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.
sourcepub fn get_accounts(&self) -> &Option<Vec<Account>>
pub fn get_accounts(&self) -> &Option<Vec<Account>>
Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.
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.
Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.
sourcepub fn set_failed_accounts(self, input: Option<Vec<FailedAccount>>) -> Self
pub fn set_failed_accounts(self, input: Option<Vec<FailedAccount>>) -> Self
Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.
sourcepub fn get_failed_accounts(&self) -> &Option<Vec<FailedAccount>>
pub fn get_failed_accounts(&self) -> &Option<Vec<FailedAccount>>
Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.
sourcepub fn build(self) -> Result<DisableOutput, BuildError>
pub fn build(self) -> Result<DisableOutput, BuildError>
Consumes the builder and constructs a DisableOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DisableOutputBuilder
impl Clone for DisableOutputBuilder
source§fn clone(&self) -> DisableOutputBuilder
fn clone(&self) -> DisableOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DisableOutputBuilder
impl Debug for DisableOutputBuilder
source§impl Default for DisableOutputBuilder
impl Default for DisableOutputBuilder
source§fn default() -> DisableOutputBuilder
fn default() -> DisableOutputBuilder
source§impl PartialEq for DisableOutputBuilder
impl PartialEq for DisableOutputBuilder
impl StructuralPartialEq for DisableOutputBuilder
Auto Trait Implementations§
impl Freeze for DisableOutputBuilder
impl RefUnwindSafe for DisableOutputBuilder
impl Send for DisableOutputBuilder
impl Sync for DisableOutputBuilder
impl Unpin for DisableOutputBuilder
impl UnwindSafe for DisableOutputBuilder
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