#[non_exhaustive]pub struct DetectMitigationActionsTaskSummary { /* private fields */ }
Expand description
The summary of the mitigation action tasks.
Implementations§
source§impl DetectMitigationActionsTaskSummary
impl DetectMitigationActionsTaskSummary
sourcepub fn task_status(&self) -> Option<&DetectMitigationActionsTaskStatus>
pub fn task_status(&self) -> Option<&DetectMitigationActionsTaskStatus>
The status of the task.
sourcepub fn task_start_time(&self) -> Option<&DateTime>
pub fn task_start_time(&self) -> Option<&DateTime>
The date the task started.
sourcepub fn task_end_time(&self) -> Option<&DateTime>
pub fn task_end_time(&self) -> Option<&DateTime>
The date the task ended.
sourcepub fn target(&self) -> Option<&DetectMitigationActionsTaskTarget>
pub fn target(&self) -> Option<&DetectMitigationActionsTaskTarget>
Specifies the ML Detect findings to which the mitigation actions are applied.
sourcepub fn violation_event_occurrence_range(
&self
) -> Option<&ViolationEventOccurrenceRange>
pub fn violation_event_occurrence_range( &self ) -> Option<&ViolationEventOccurrenceRange>
Specifies the time period of which violation events occurred between.
sourcepub fn only_active_violations_included(&self) -> bool
pub fn only_active_violations_included(&self) -> bool
Includes only active violations.
sourcepub fn suppressed_alerts_included(&self) -> bool
pub fn suppressed_alerts_included(&self) -> bool
Includes suppressed alerts.
sourcepub fn actions_definition(&self) -> Option<&[MitigationAction]>
pub fn actions_definition(&self) -> Option<&[MitigationAction]>
The definition of the actions.
sourcepub fn task_statistics(&self) -> Option<&DetectMitigationActionsTaskStatistics>
pub fn task_statistics(&self) -> Option<&DetectMitigationActionsTaskStatistics>
The statistics of a mitigation action task.
source§impl DetectMitigationActionsTaskSummary
impl DetectMitigationActionsTaskSummary
sourcepub fn builder() -> DetectMitigationActionsTaskSummaryBuilder
pub fn builder() -> DetectMitigationActionsTaskSummaryBuilder
Creates a new builder-style object to manufacture DetectMitigationActionsTaskSummary
.
Trait Implementations§
source§impl Clone for DetectMitigationActionsTaskSummary
impl Clone for DetectMitigationActionsTaskSummary
source§fn clone(&self) -> DetectMitigationActionsTaskSummary
fn clone(&self) -> DetectMitigationActionsTaskSummary
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<DetectMitigationActionsTaskSummary> for DetectMitigationActionsTaskSummary
impl PartialEq<DetectMitigationActionsTaskSummary> for DetectMitigationActionsTaskSummary
source§fn eq(&self, other: &DetectMitigationActionsTaskSummary) -> bool
fn eq(&self, other: &DetectMitigationActionsTaskSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectMitigationActionsTaskSummary
Auto Trait Implementations§
impl RefUnwindSafe for DetectMitigationActionsTaskSummary
impl Send for DetectMitigationActionsTaskSummary
impl Sync for DetectMitigationActionsTaskSummary
impl Unpin for DetectMitigationActionsTaskSummary
impl UnwindSafe for DetectMitigationActionsTaskSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more