#[non_exhaustive]pub struct DetectMitigationActionExecution { /* private fields */ }
Expand description
Describes which mitigation actions should be executed.
Implementations§
source§impl DetectMitigationActionExecution
impl DetectMitigationActionExecution
sourcepub fn violation_id(&self) -> Option<&str>
pub fn violation_id(&self) -> Option<&str>
The unique identifier of the violation.
sourcepub fn action_name(&self) -> Option<&str>
pub fn action_name(&self) -> Option<&str>
The friendly name that uniquely identifies the mitigation action.
sourcepub fn thing_name(&self) -> Option<&str>
pub fn thing_name(&self) -> Option<&str>
The name of the thing.
sourcepub fn execution_start_date(&self) -> Option<&DateTime>
pub fn execution_start_date(&self) -> Option<&DateTime>
The date a mitigation action was started.
sourcepub fn execution_end_date(&self) -> Option<&DateTime>
pub fn execution_end_date(&self) -> Option<&DateTime>
The date a mitigation action ended.
sourcepub fn status(&self) -> Option<&DetectMitigationActionExecutionStatus>
pub fn status(&self) -> Option<&DetectMitigationActionExecutionStatus>
The status of a mitigation action.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error code of a mitigation action.
source§impl DetectMitigationActionExecution
impl DetectMitigationActionExecution
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectMitigationActionExecution
.
Trait Implementations§
source§impl Clone for DetectMitigationActionExecution
impl Clone for DetectMitigationActionExecution
source§fn clone(&self) -> DetectMitigationActionExecution
fn clone(&self) -> DetectMitigationActionExecution
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<DetectMitigationActionExecution> for DetectMitigationActionExecution
impl PartialEq<DetectMitigationActionExecution> for DetectMitigationActionExecution
source§fn eq(&self, other: &DetectMitigationActionExecution) -> bool
fn eq(&self, other: &DetectMitigationActionExecution) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.