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