Struct aws_sdk_securityhub::model::standards_control::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StandardsControl
.
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.
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.
sourcepub fn control_status(self, input: ControlStatus) -> Self
pub fn control_status(self, input: ControlStatus) -> Self
The current status of the security standard control. Indicates whether the control is enabled or disabled. Security Hub does not check against disabled controls.
sourcepub fn set_control_status(self, input: Option<ControlStatus>) -> Self
pub fn set_control_status(self, input: Option<ControlStatus>) -> Self
The current status of the security standard control. Indicates whether the control is enabled or disabled. Security Hub does not check against disabled controls.
sourcepub fn disabled_reason(self, input: impl Into<String>) -> Self
pub fn disabled_reason(self, input: impl Into<String>) -> Self
The reason provided for the most recent change in status for the control.
sourcepub fn set_disabled_reason(self, input: Option<String>) -> Self
pub fn set_disabled_reason(self, input: Option<String>) -> Self
The reason provided for the most recent change in status for the control.
sourcepub fn control_status_updated_at(self, input: DateTime) -> Self
pub fn control_status_updated_at(self, input: DateTime) -> Self
The date and time that the status of the security standard control was most recently updated.
sourcepub fn set_control_status_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_control_status_updated_at(self, input: Option<DateTime>) -> Self
The date and time that the status of the security standard control was most recently updated.
sourcepub fn control_id(self, input: impl Into<String>) -> Self
pub fn control_id(self, input: impl Into<String>) -> Self
The identifier of the security standard control.
sourcepub fn set_control_id(self, input: Option<String>) -> Self
pub fn set_control_id(self, input: Option<String>) -> Self
The identifier of the security standard control.
sourcepub fn title(self, input: impl Into<String>) -> Self
pub fn title(self, input: impl Into<String>) -> Self
The title of the security standard control.
sourcepub fn set_title(self, input: Option<String>) -> Self
pub fn set_title(self, input: Option<String>) -> Self
The title of the security standard control.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The longer description of the security standard control. Provides information about what the control is checking for.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The longer description of the security standard control. Provides information about what the control is checking for.
sourcepub fn remediation_url(self, input: impl Into<String>) -> Self
pub fn remediation_url(self, input: impl Into<String>) -> Self
A link to remediation information for the control in the Security Hub user documentation.
sourcepub fn set_remediation_url(self, input: Option<String>) -> Self
pub fn set_remediation_url(self, input: Option<String>) -> Self
A link to remediation information for the control in the Security Hub user documentation.
sourcepub fn severity_rating(self, input: SeverityRating) -> Self
pub fn severity_rating(self, input: SeverityRating) -> Self
The severity of findings generated from this security standard control.
The finding severity is based on an assessment of how easy it would be to compromise Amazon Web Services resources if the issue is detected.
sourcepub fn set_severity_rating(self, input: Option<SeverityRating>) -> Self
pub fn set_severity_rating(self, input: Option<SeverityRating>) -> Self
The severity of findings generated from this security standard control.
The finding severity is based on an assessment of how easy it would be to compromise Amazon Web Services resources if the issue is detected.
Appends an item to related_requirements
.
To override the contents of this collection use set_related_requirements
.
The list of requirements that are related to this control.
The list of requirements that are related to this control.
sourcepub fn build(self) -> StandardsControl
pub fn build(self) -> StandardsControl
Consumes the builder and constructs a StandardsControl
.