Struct aws_sdk_securityhub::operation::batch_get_security_controls::builders::BatchGetSecurityControlsInputBuilder
source · #[non_exhaustive]pub struct BatchGetSecurityControlsInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetSecurityControlsInput
.
Implementations§
source§impl BatchGetSecurityControlsInputBuilder
impl BatchGetSecurityControlsInputBuilder
sourcepub fn security_control_ids(self, input: impl Into<String>) -> Self
pub fn security_control_ids(self, input: impl Into<String>) -> Self
Appends an item to security_control_ids
.
To override the contents of this collection use set_security_control_ids
.
A list of security controls (identified with SecurityControlId
, SecurityControlArn
, or a mix of both parameters). The security control ID or Amazon Resource Name (ARN) is the same across standards.
sourcepub fn set_security_control_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_control_ids(self, input: Option<Vec<String>>) -> Self
A list of security controls (identified with SecurityControlId
, SecurityControlArn
, or a mix of both parameters). The security control ID or Amazon Resource Name (ARN) is the same across standards.
sourcepub fn get_security_control_ids(&self) -> &Option<Vec<String>>
pub fn get_security_control_ids(&self) -> &Option<Vec<String>>
A list of security controls (identified with SecurityControlId
, SecurityControlArn
, or a mix of both parameters). The security control ID or Amazon Resource Name (ARN) is the same across standards.
sourcepub fn build(self) -> Result<BatchGetSecurityControlsInput, BuildError>
pub fn build(self) -> Result<BatchGetSecurityControlsInput, BuildError>
Consumes the builder and constructs a BatchGetSecurityControlsInput
.
source§impl BatchGetSecurityControlsInputBuilder
impl BatchGetSecurityControlsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchGetSecurityControlsOutput, SdkError<BatchGetSecurityControlsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchGetSecurityControlsOutput, SdkError<BatchGetSecurityControlsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetSecurityControlsInputBuilder
impl Clone for BatchGetSecurityControlsInputBuilder
source§fn clone(&self) -> BatchGetSecurityControlsInputBuilder
fn clone(&self) -> BatchGetSecurityControlsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetSecurityControlsInputBuilder
impl Default for BatchGetSecurityControlsInputBuilder
source§fn default() -> BatchGetSecurityControlsInputBuilder
fn default() -> BatchGetSecurityControlsInputBuilder
source§impl PartialEq for BatchGetSecurityControlsInputBuilder
impl PartialEq for BatchGetSecurityControlsInputBuilder
source§fn eq(&self, other: &BatchGetSecurityControlsInputBuilder) -> bool
fn eq(&self, other: &BatchGetSecurityControlsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetSecurityControlsInputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetSecurityControlsInputBuilder
impl RefUnwindSafe for BatchGetSecurityControlsInputBuilder
impl Send for BatchGetSecurityControlsInputBuilder
impl Sync for BatchGetSecurityControlsInputBuilder
impl Unpin for BatchGetSecurityControlsInputBuilder
impl UnwindSafe for BatchGetSecurityControlsInputBuilder
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
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>
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>
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 more