Struct aws_sdk_inspector2::operation::disable::builders::DisableInputBuilder
source · #[non_exhaustive]pub struct DisableInputBuilder { /* private fields */ }Expand description
A builder for DisableInput.
Implementations§
source§impl DisableInputBuilder
impl DisableInputBuilder
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.
An array of account IDs you want to disable Amazon Inspector scans for.
sourcepub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
An array of account IDs you want to disable Amazon Inspector scans for.
sourcepub fn get_account_ids(&self) -> &Option<Vec<String>>
pub fn get_account_ids(&self) -> &Option<Vec<String>>
An array of account IDs you want to disable Amazon Inspector scans for.
sourcepub fn resource_types(self, input: ResourceScanType) -> Self
pub fn resource_types(self, input: ResourceScanType) -> Self
Appends an item to resource_types.
To override the contents of this collection use set_resource_types.
The resource scan types you want to disable.
sourcepub fn set_resource_types(self, input: Option<Vec<ResourceScanType>>) -> Self
pub fn set_resource_types(self, input: Option<Vec<ResourceScanType>>) -> Self
The resource scan types you want to disable.
sourcepub fn get_resource_types(&self) -> &Option<Vec<ResourceScanType>>
pub fn get_resource_types(&self) -> &Option<Vec<ResourceScanType>>
The resource scan types you want to disable.
sourcepub fn build(self) -> Result<DisableInput, BuildError>
pub fn build(self) -> Result<DisableInput, BuildError>
Consumes the builder and constructs a DisableInput.
source§impl DisableInputBuilder
impl DisableInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DisableOutput, SdkError<DisableError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DisableOutput, SdkError<DisableError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DisableInputBuilder
impl Clone for DisableInputBuilder
source§fn clone(&self) -> DisableInputBuilder
fn clone(&self) -> DisableInputBuilder
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 Debug for DisableInputBuilder
impl Debug for DisableInputBuilder
source§impl Default for DisableInputBuilder
impl Default for DisableInputBuilder
source§fn default() -> DisableInputBuilder
fn default() -> DisableInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DisableInputBuilder
impl PartialEq for DisableInputBuilder
source§fn eq(&self, other: &DisableInputBuilder) -> bool
fn eq(&self, other: &DisableInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DisableInputBuilder
Auto Trait Implementations§
impl Freeze for DisableInputBuilder
impl RefUnwindSafe for DisableInputBuilder
impl Send for DisableInputBuilder
impl Sync for DisableInputBuilder
impl Unpin for DisableInputBuilder
impl UnwindSafe for DisableInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.