Struct aws_sdk_securityhub::model::standards_control::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for StandardsControl
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more