Struct aws_sdk_securityhub::operation::batch_get_standards_control_associations::builders::BatchGetStandardsControlAssociationsInputBuilder
source · #[non_exhaustive]pub struct BatchGetStandardsControlAssociationsInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetStandardsControlAssociationsInput
.
Implementations§
source§impl BatchGetStandardsControlAssociationsInputBuilder
impl BatchGetStandardsControlAssociationsInputBuilder
sourcepub fn standards_control_association_ids(
self,
input: StandardsControlAssociationId
) -> Self
pub fn standards_control_association_ids( self, input: StandardsControlAssociationId ) -> Self
Appends an item to standards_control_association_ids
.
To override the contents of this collection use set_standards_control_association_ids
.
An array with one or more objects that includes a security control (identified with SecurityControlId
, SecurityControlArn
, or a mix of both parameters) and the Amazon Resource Name (ARN) of a standard. This field is used to query the enablement status of a control in a specified standard. The security control ID or ARN is the same across standards.
sourcepub fn set_standards_control_association_ids(
self,
input: Option<Vec<StandardsControlAssociationId>>
) -> Self
pub fn set_standards_control_association_ids( self, input: Option<Vec<StandardsControlAssociationId>> ) -> Self
An array with one or more objects that includes a security control (identified with SecurityControlId
, SecurityControlArn
, or a mix of both parameters) and the Amazon Resource Name (ARN) of a standard. This field is used to query the enablement status of a control in a specified standard. The security control ID or ARN is the same across standards.
sourcepub fn get_standards_control_association_ids(
&self
) -> &Option<Vec<StandardsControlAssociationId>>
pub fn get_standards_control_association_ids( &self ) -> &Option<Vec<StandardsControlAssociationId>>
An array with one or more objects that includes a security control (identified with SecurityControlId
, SecurityControlArn
, or a mix of both parameters) and the Amazon Resource Name (ARN) of a standard. This field is used to query the enablement status of a control in a specified standard. The security control ID or ARN is the same across standards.
sourcepub fn build(
self
) -> Result<BatchGetStandardsControlAssociationsInput, BuildError>
pub fn build( self ) -> Result<BatchGetStandardsControlAssociationsInput, BuildError>
Consumes the builder and constructs a BatchGetStandardsControlAssociationsInput
.
source§impl BatchGetStandardsControlAssociationsInputBuilder
impl BatchGetStandardsControlAssociationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchGetStandardsControlAssociationsOutput, SdkError<BatchGetStandardsControlAssociationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchGetStandardsControlAssociationsOutput, SdkError<BatchGetStandardsControlAssociationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetStandardsControlAssociationsInputBuilder
impl Clone for BatchGetStandardsControlAssociationsInputBuilder
source§fn clone(&self) -> BatchGetStandardsControlAssociationsInputBuilder
fn clone(&self) -> BatchGetStandardsControlAssociationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetStandardsControlAssociationsInputBuilder
impl Default for BatchGetStandardsControlAssociationsInputBuilder
source§fn default() -> BatchGetStandardsControlAssociationsInputBuilder
fn default() -> BatchGetStandardsControlAssociationsInputBuilder
source§impl PartialEq for BatchGetStandardsControlAssociationsInputBuilder
impl PartialEq for BatchGetStandardsControlAssociationsInputBuilder
source§fn eq(&self, other: &BatchGetStandardsControlAssociationsInputBuilder) -> bool
fn eq(&self, other: &BatchGetStandardsControlAssociationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.