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