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<DisableInputBuilder> for DisableInputBuilder
impl PartialEq<DisableInputBuilder> 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 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