Struct aws_sdk_inspector2::operation::batch_get_account_status::builders::BatchGetAccountStatusInputBuilder
source · #[non_exhaustive]pub struct BatchGetAccountStatusInputBuilder { /* private fields */ }Expand description
A builder for BatchGetAccountStatusInput.
Implementations§
source§impl BatchGetAccountStatusInputBuilder
impl BatchGetAccountStatusInputBuilder
sourcepub fn account_ids(self, input: impl Into<String>) -> Self
pub fn account_ids(self, input: impl Into<String>) -> Self
Appends an item to account_ids.
To override the contents of this collection use set_account_ids.
The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.
sourcepub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.
sourcepub fn get_account_ids(&self) -> &Option<Vec<String>>
pub fn get_account_ids(&self) -> &Option<Vec<String>>
The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.
sourcepub fn build(self) -> Result<BatchGetAccountStatusInput, BuildError>
pub fn build(self) -> Result<BatchGetAccountStatusInput, BuildError>
Consumes the builder and constructs a BatchGetAccountStatusInput.
source§impl BatchGetAccountStatusInputBuilder
impl BatchGetAccountStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchGetAccountStatusOutput, SdkError<BatchGetAccountStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchGetAccountStatusOutput, SdkError<BatchGetAccountStatusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetAccountStatusInputBuilder
impl Clone for BatchGetAccountStatusInputBuilder
source§fn clone(&self) -> BatchGetAccountStatusInputBuilder
fn clone(&self) -> BatchGetAccountStatusInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for BatchGetAccountStatusInputBuilder
impl Default for BatchGetAccountStatusInputBuilder
source§fn default() -> BatchGetAccountStatusInputBuilder
fn default() -> BatchGetAccountStatusInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchGetAccountStatusInputBuilder
impl PartialEq for BatchGetAccountStatusInputBuilder
source§fn eq(&self, other: &BatchGetAccountStatusInputBuilder) -> bool
fn eq(&self, other: &BatchGetAccountStatusInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchGetAccountStatusInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchGetAccountStatusInputBuilder
impl Send for BatchGetAccountStatusInputBuilder
impl Sync for BatchGetAccountStatusInputBuilder
impl Unpin for BatchGetAccountStatusInputBuilder
impl UnwindSafe for BatchGetAccountStatusInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.