#[non_exhaustive]pub struct UnprocessedStandardsControlAssociationBuilder { /* private fields */ }
Expand description
A builder for UnprocessedStandardsControlAssociation
.
Implementations§
source§impl UnprocessedStandardsControlAssociationBuilder
impl UnprocessedStandardsControlAssociationBuilder
sourcepub fn standards_control_association_id(
self,
input: StandardsControlAssociationId
) -> Self
pub fn standards_control_association_id( self, input: 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 parameter shows the specific controls for which the enablement status couldn't be retrieved in specified standards when calling BatchUpdateStandardsControlAssociations.
sourcepub fn set_standards_control_association_id(
self,
input: Option<StandardsControlAssociationId>
) -> Self
pub fn set_standards_control_association_id( self, input: Option<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 parameter shows the specific controls for which the enablement status couldn't be retrieved in specified standards when calling BatchUpdateStandardsControlAssociations.
sourcepub fn get_standards_control_association_id(
&self
) -> &Option<StandardsControlAssociationId>
pub fn get_standards_control_association_id( &self ) -> &Option<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 parameter shows the specific controls for which the enablement status couldn't be retrieved in specified standards when calling BatchUpdateStandardsControlAssociations.
sourcepub fn error_code(self, input: UnprocessedErrorCode) -> Self
pub fn error_code(self, input: UnprocessedErrorCode) -> Self
The error code for the unprocessed standard and control association.
This field is required.sourcepub fn set_error_code(self, input: Option<UnprocessedErrorCode>) -> Self
pub fn set_error_code(self, input: Option<UnprocessedErrorCode>) -> Self
The error code for the unprocessed standard and control association.
sourcepub fn get_error_code(&self) -> &Option<UnprocessedErrorCode>
pub fn get_error_code(&self) -> &Option<UnprocessedErrorCode>
The error code for the unprocessed standard and control association.
sourcepub fn error_reason(self, input: impl Into<String>) -> Self
pub fn error_reason(self, input: impl Into<String>) -> Self
The reason why the standard and control association was unprocessed.
sourcepub fn set_error_reason(self, input: Option<String>) -> Self
pub fn set_error_reason(self, input: Option<String>) -> Self
The reason why the standard and control association was unprocessed.
sourcepub fn get_error_reason(&self) -> &Option<String>
pub fn get_error_reason(&self) -> &Option<String>
The reason why the standard and control association was unprocessed.
sourcepub fn build(self) -> UnprocessedStandardsControlAssociation
pub fn build(self) -> UnprocessedStandardsControlAssociation
Consumes the builder and constructs a UnprocessedStandardsControlAssociation
.
Trait Implementations§
source§impl Clone for UnprocessedStandardsControlAssociationBuilder
impl Clone for UnprocessedStandardsControlAssociationBuilder
source§fn clone(&self) -> UnprocessedStandardsControlAssociationBuilder
fn clone(&self) -> UnprocessedStandardsControlAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UnprocessedStandardsControlAssociationBuilder
impl Default for UnprocessedStandardsControlAssociationBuilder
source§fn default() -> UnprocessedStandardsControlAssociationBuilder
fn default() -> UnprocessedStandardsControlAssociationBuilder
source§impl PartialEq for UnprocessedStandardsControlAssociationBuilder
impl PartialEq for UnprocessedStandardsControlAssociationBuilder
source§fn eq(&self, other: &UnprocessedStandardsControlAssociationBuilder) -> bool
fn eq(&self, other: &UnprocessedStandardsControlAssociationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnprocessedStandardsControlAssociationBuilder
Auto Trait Implementations§
impl Freeze for UnprocessedStandardsControlAssociationBuilder
impl RefUnwindSafe for UnprocessedStandardsControlAssociationBuilder
impl Send for UnprocessedStandardsControlAssociationBuilder
impl Sync for UnprocessedStandardsControlAssociationBuilder
impl Unpin for UnprocessedStandardsControlAssociationBuilder
impl UnwindSafe for UnprocessedStandardsControlAssociationBuilder
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