Struct aws_sdk_securityhub::operation::batch_disable_standards::builders::BatchDisableStandardsInputBuilder
source · #[non_exhaustive]pub struct BatchDisableStandardsInputBuilder { /* private fields */ }
Expand description
A builder for BatchDisableStandardsInput
.
Implementations§
source§impl BatchDisableStandardsInputBuilder
impl BatchDisableStandardsInputBuilder
sourcepub fn standards_subscription_arns(self, input: impl Into<String>) -> Self
pub fn standards_subscription_arns(self, input: impl Into<String>) -> Self
Appends an item to standards_subscription_arns
.
To override the contents of this collection use set_standards_subscription_arns
.
The ARNs of the standards subscriptions to disable.
sourcepub fn set_standards_subscription_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_standards_subscription_arns(self, input: Option<Vec<String>>) -> Self
The ARNs of the standards subscriptions to disable.
sourcepub fn get_standards_subscription_arns(&self) -> &Option<Vec<String>>
pub fn get_standards_subscription_arns(&self) -> &Option<Vec<String>>
The ARNs of the standards subscriptions to disable.
sourcepub fn build(self) -> Result<BatchDisableStandardsInput, BuildError>
pub fn build(self) -> Result<BatchDisableStandardsInput, BuildError>
Consumes the builder and constructs a BatchDisableStandardsInput
.
source§impl BatchDisableStandardsInputBuilder
impl BatchDisableStandardsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchDisableStandardsOutput, SdkError<BatchDisableStandardsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchDisableStandardsOutput, SdkError<BatchDisableStandardsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchDisableStandardsInputBuilder
impl Clone for BatchDisableStandardsInputBuilder
source§fn clone(&self) -> BatchDisableStandardsInputBuilder
fn clone(&self) -> BatchDisableStandardsInputBuilder
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 BatchDisableStandardsInputBuilder
impl Default for BatchDisableStandardsInputBuilder
source§fn default() -> BatchDisableStandardsInputBuilder
fn default() -> BatchDisableStandardsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchDisableStandardsInputBuilder
impl PartialEq for BatchDisableStandardsInputBuilder
source§fn eq(&self, other: &BatchDisableStandardsInputBuilder) -> bool
fn eq(&self, other: &BatchDisableStandardsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchDisableStandardsInputBuilder
Auto Trait Implementations§
impl Freeze for BatchDisableStandardsInputBuilder
impl RefUnwindSafe for BatchDisableStandardsInputBuilder
impl Send for BatchDisableStandardsInputBuilder
impl Sync for BatchDisableStandardsInputBuilder
impl Unpin for BatchDisableStandardsInputBuilder
impl UnwindSafe for BatchDisableStandardsInputBuilder
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.