Struct aws_sdk_inspector2::operation::enable::builders::EnableOutputBuilder
source · #[non_exhaustive]pub struct EnableOutputBuilder { /* private fields */ }
Expand description
A builder for EnableOutput
.
Implementations§
source§impl EnableOutputBuilder
impl EnableOutputBuilder
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 enabled. 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 enabled. 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 enabled. 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 enabled. 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 enabled. 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 enabled. Details are provided for each account.
sourcepub fn build(self) -> Result<EnableOutput, BuildError>
pub fn build(self) -> Result<EnableOutput, BuildError>
Consumes the builder and constructs a EnableOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EnableOutputBuilder
impl Clone for EnableOutputBuilder
source§fn clone(&self) -> EnableOutputBuilder
fn clone(&self) -> EnableOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnableOutputBuilder
impl Debug for EnableOutputBuilder
source§impl Default for EnableOutputBuilder
impl Default for EnableOutputBuilder
source§fn default() -> EnableOutputBuilder
fn default() -> EnableOutputBuilder
source§impl PartialEq for EnableOutputBuilder
impl PartialEq for EnableOutputBuilder
source§fn eq(&self, other: &EnableOutputBuilder) -> bool
fn eq(&self, other: &EnableOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.