#[non_exhaustive]pub struct DetectMitigationActionsTaskSummary { /* private fields */ }
Expand description
The summary of the mitigation action tasks.
Implementations
sourceimpl 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.
sourceimpl DetectMitigationActionsTaskSummary
impl DetectMitigationActionsTaskSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectMitigationActionsTaskSummary
.
Trait Implementations
sourceimpl Clone for DetectMitigationActionsTaskSummary
impl Clone for DetectMitigationActionsTaskSummary
sourcefn clone(&self) -> DetectMitigationActionsTaskSummary
fn clone(&self) -> DetectMitigationActionsTaskSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<DetectMitigationActionsTaskSummary> for DetectMitigationActionsTaskSummary
impl PartialEq<DetectMitigationActionsTaskSummary> for DetectMitigationActionsTaskSummary
sourcefn 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 ==
. Read more
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
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