pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateStandardsControlInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn standards_control_arn(self, input: impl Into<String>) -> Self
pub fn standards_control_arn(self, input: impl Into<String>) -> Self
The ARN of the security standard control to enable or disable.
sourcepub fn set_standards_control_arn(self, input: Option<String>) -> Self
pub fn set_standards_control_arn(self, input: Option<String>) -> Self
The ARN of the security standard control to enable or disable.
sourcepub fn control_status(self, input: ControlStatus) -> Self
pub fn control_status(self, input: ControlStatus) -> Self
The updated status of the security standard control.
sourcepub fn set_control_status(self, input: Option<ControlStatus>) -> Self
pub fn set_control_status(self, input: Option<ControlStatus>) -> Self
The updated status of the security standard control.
sourcepub fn disabled_reason(self, input: impl Into<String>) -> Self
pub fn disabled_reason(self, input: impl Into<String>) -> Self
A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
sourcepub fn set_disabled_reason(self, input: Option<String>) -> Self
pub fn set_disabled_reason(self, input: Option<String>) -> Self
A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
sourcepub fn build(self) -> Result<UpdateStandardsControlInput, BuildError>
pub fn build(self) -> Result<UpdateStandardsControlInput, BuildError>
Consumes the builder and constructs a UpdateStandardsControlInput
.