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
source§fn eq(&self, other: &DisableOutputBuilder) -> bool
fn eq(&self, other: &DisableOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.