Struct aws_sdk_securityhub::types::builders::UnprocessedStandardsControlAssociationUpdateBuilder
source · #[non_exhaustive]pub struct UnprocessedStandardsControlAssociationUpdateBuilder { /* private fields */ }
Expand description
A builder for UnprocessedStandardsControlAssociationUpdate
.
Implementations§
source§impl UnprocessedStandardsControlAssociationUpdateBuilder
impl UnprocessedStandardsControlAssociationUpdateBuilder
sourcepub fn standards_control_association_update(
self,
input: StandardsControlAssociationUpdate
) -> Self
pub fn standards_control_association_update( self, input: StandardsControlAssociationUpdate ) -> Self
An array of control and standard associations for which an update failed when calling BatchUpdateStandardsControlAssociations.
This field is required.sourcepub fn set_standards_control_association_update(
self,
input: Option<StandardsControlAssociationUpdate>
) -> Self
pub fn set_standards_control_association_update( self, input: Option<StandardsControlAssociationUpdate> ) -> Self
An array of control and standard associations for which an update failed when calling BatchUpdateStandardsControlAssociations.
sourcepub fn get_standards_control_association_update(
&self
) -> &Option<StandardsControlAssociationUpdate>
pub fn get_standards_control_association_update( &self ) -> &Option<StandardsControlAssociationUpdate>
An array of control and standard associations for which an update failed 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 update of the control's enablement status in the specified standard.
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 update of the control's enablement status in the specified standard.
sourcepub fn get_error_code(&self) -> &Option<UnprocessedErrorCode>
pub fn get_error_code(&self) -> &Option<UnprocessedErrorCode>
The error code for the unprocessed update of the control's enablement status in the specified standard.
sourcepub fn error_reason(self, input: impl Into<String>) -> Self
pub fn error_reason(self, input: impl Into<String>) -> Self
The reason why a control's enablement status in the specified standard couldn't be updated.
sourcepub fn set_error_reason(self, input: Option<String>) -> Self
pub fn set_error_reason(self, input: Option<String>) -> Self
The reason why a control's enablement status in the specified standard couldn't be updated.
sourcepub fn get_error_reason(&self) -> &Option<String>
pub fn get_error_reason(&self) -> &Option<String>
The reason why a control's enablement status in the specified standard couldn't be updated.
sourcepub fn build(self) -> UnprocessedStandardsControlAssociationUpdate
pub fn build(self) -> UnprocessedStandardsControlAssociationUpdate
Consumes the builder and constructs a UnprocessedStandardsControlAssociationUpdate
.
Trait Implementations§
source§impl Clone for UnprocessedStandardsControlAssociationUpdateBuilder
impl Clone for UnprocessedStandardsControlAssociationUpdateBuilder
source§fn clone(&self) -> UnprocessedStandardsControlAssociationUpdateBuilder
fn clone(&self) -> UnprocessedStandardsControlAssociationUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UnprocessedStandardsControlAssociationUpdateBuilder
impl Default for UnprocessedStandardsControlAssociationUpdateBuilder
source§fn default() -> UnprocessedStandardsControlAssociationUpdateBuilder
fn default() -> UnprocessedStandardsControlAssociationUpdateBuilder
source§impl PartialEq for UnprocessedStandardsControlAssociationUpdateBuilder
impl PartialEq for UnprocessedStandardsControlAssociationUpdateBuilder
source§fn eq(
&self,
other: &UnprocessedStandardsControlAssociationUpdateBuilder
) -> bool
fn eq( &self, other: &UnprocessedStandardsControlAssociationUpdateBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.