public class DetectMitigationActionsTaskSummary
extends java.lang.Object
implements java.io.Serializable
The summary of the mitigation action tasks.
Constructor and Description |
---|
DetectMitigationActionsTaskSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<MitigationAction> |
getActionsDefinition()
The definition of the actions.
|
java.lang.Boolean |
getOnlyActiveViolationsIncluded()
Includes only active violations.
|
java.lang.Boolean |
getSuppressedAlertsIncluded()
Includes suppressed alerts.
|
DetectMitigationActionsTaskTarget |
getTarget()
Specifies the ML Detect findings to which the mitigation actions are
applied.
|
java.util.Date |
getTaskEndTime()
The date the task ended.
|
java.lang.String |
getTaskId()
The unique identifier of the task.
|
java.util.Date |
getTaskStartTime()
The date the task started.
|
DetectMitigationActionsTaskStatistics |
getTaskStatistics()
The statistics of a mitigation action task.
|
java.lang.String |
getTaskStatus()
The status of the task.
|
ViolationEventOccurrenceRange |
getViolationEventOccurrenceRange()
Specifies the time period of which violation events occurred between.
|
int |
hashCode() |
java.lang.Boolean |
isOnlyActiveViolationsIncluded()
Includes only active violations.
|
java.lang.Boolean |
isSuppressedAlertsIncluded()
Includes suppressed alerts.
|
void |
setActionsDefinition(java.util.Collection<MitigationAction> actionsDefinition)
The definition of the actions.
|
void |
setOnlyActiveViolationsIncluded(java.lang.Boolean onlyActiveViolationsIncluded)
Includes only active violations.
|
void |
setSuppressedAlertsIncluded(java.lang.Boolean suppressedAlertsIncluded)
Includes suppressed alerts.
|
void |
setTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are
applied.
|
void |
setTaskEndTime(java.util.Date taskEndTime)
The date the task ended.
|
void |
setTaskId(java.lang.String taskId)
The unique identifier of the task.
|
void |
setTaskStartTime(java.util.Date taskStartTime)
The date the task started.
|
void |
setTaskStatistics(DetectMitigationActionsTaskStatistics taskStatistics)
The statistics of a mitigation action task.
|
void |
setTaskStatus(DetectMitigationActionsTaskStatus taskStatus)
The status of the task.
|
void |
setTaskStatus(java.lang.String taskStatus)
The status of the task.
|
void |
setViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectMitigationActionsTaskSummary |
withActionsDefinition(java.util.Collection<MitigationAction> actionsDefinition)
The definition of the actions.
|
DetectMitigationActionsTaskSummary |
withActionsDefinition(MitigationAction... actionsDefinition)
The definition of the actions.
|
DetectMitigationActionsTaskSummary |
withOnlyActiveViolationsIncluded(java.lang.Boolean onlyActiveViolationsIncluded)
Includes only active violations.
|
DetectMitigationActionsTaskSummary |
withSuppressedAlertsIncluded(java.lang.Boolean suppressedAlertsIncluded)
Includes suppressed alerts.
|
DetectMitigationActionsTaskSummary |
withTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are
applied.
|
DetectMitigationActionsTaskSummary |
withTaskEndTime(java.util.Date taskEndTime)
The date the task ended.
|
DetectMitigationActionsTaskSummary |
withTaskId(java.lang.String taskId)
The unique identifier of the task.
|
DetectMitigationActionsTaskSummary |
withTaskStartTime(java.util.Date taskStartTime)
The date the task started.
|
DetectMitigationActionsTaskSummary |
withTaskStatistics(DetectMitigationActionsTaskStatistics taskStatistics)
The statistics of a mitigation action task.
|
DetectMitigationActionsTaskSummary |
withTaskStatus(DetectMitigationActionsTaskStatus taskStatus)
The status of the task.
|
DetectMitigationActionsTaskSummary |
withTaskStatus(java.lang.String taskStatus)
The status of the task.
|
DetectMitigationActionsTaskSummary |
withViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
|
public java.lang.String getTaskId()
The unique identifier of the task.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The unique identifier of the task.
public void setTaskId(java.lang.String taskId)
The unique identifier of the task.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
taskId
- The unique identifier of the task.
public DetectMitigationActionsTaskSummary withTaskId(java.lang.String taskId)
The unique identifier of the task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
taskId
- The unique identifier of the task.
public java.lang.String getTaskStatus()
The status of the task.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, CANCELED
The status of the task.
DetectMitigationActionsTaskStatus
public void setTaskStatus(java.lang.String taskStatus)
The status of the task.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, CANCELED
taskStatus
- The status of the task.
DetectMitigationActionsTaskStatus
public DetectMitigationActionsTaskSummary withTaskStatus(java.lang.String taskStatus)
The status of the task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, CANCELED
taskStatus
- The status of the task.
DetectMitigationActionsTaskStatus
public void setTaskStatus(DetectMitigationActionsTaskStatus taskStatus)
The status of the task.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, CANCELED
taskStatus
- The status of the task.
DetectMitigationActionsTaskStatus
public DetectMitigationActionsTaskSummary withTaskStatus(DetectMitigationActionsTaskStatus taskStatus)
The status of the task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, SUCCESSFUL, FAILED, CANCELED
taskStatus
- The status of the task.
DetectMitigationActionsTaskStatus
public java.util.Date getTaskStartTime()
The date the task started.
The date the task started.
public void setTaskStartTime(java.util.Date taskStartTime)
The date the task started.
taskStartTime
- The date the task started.
public DetectMitigationActionsTaskSummary withTaskStartTime(java.util.Date taskStartTime)
The date the task started.
Returns a reference to this object so that method calls can be chained together.
taskStartTime
- The date the task started.
public java.util.Date getTaskEndTime()
The date the task ended.
The date the task ended.
public void setTaskEndTime(java.util.Date taskEndTime)
The date the task ended.
taskEndTime
- The date the task ended.
public DetectMitigationActionsTaskSummary withTaskEndTime(java.util.Date taskEndTime)
The date the task ended.
Returns a reference to this object so that method calls can be chained together.
taskEndTime
- The date the task ended.
public DetectMitigationActionsTaskTarget getTarget()
Specifies the ML Detect findings to which the mitigation actions are applied.
Specifies the ML Detect findings to which the mitigation actions are applied.
public void setTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are applied.
target
- Specifies the ML Detect findings to which the mitigation actions are applied.
public DetectMitigationActionsTaskSummary withTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are applied.
Returns a reference to this object so that method calls can be chained together.
target
- Specifies the ML Detect findings to which the mitigation actions are applied.
public ViolationEventOccurrenceRange getViolationEventOccurrenceRange()
Specifies the time period of which violation events occurred between.
Specifies the time period of which violation events occurred between.
public void setViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
violationEventOccurrenceRange
- Specifies the time period of which violation events occurred between.
public DetectMitigationActionsTaskSummary withViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
Returns a reference to this object so that method calls can be chained together.
violationEventOccurrenceRange
- Specifies the time period of which violation events occurred between.
public java.lang.Boolean isOnlyActiveViolationsIncluded()
Includes only active violations.
Includes only active violations.
public java.lang.Boolean getOnlyActiveViolationsIncluded()
Includes only active violations.
Includes only active violations.
public void setOnlyActiveViolationsIncluded(java.lang.Boolean onlyActiveViolationsIncluded)
Includes only active violations.
onlyActiveViolationsIncluded
- Includes only active violations.
public DetectMitigationActionsTaskSummary withOnlyActiveViolationsIncluded(java.lang.Boolean onlyActiveViolationsIncluded)
Includes only active violations.
Returns a reference to this object so that method calls can be chained together.
onlyActiveViolationsIncluded
- Includes only active violations.
public java.lang.Boolean isSuppressedAlertsIncluded()
Includes suppressed alerts.
Includes suppressed alerts.
public java.lang.Boolean getSuppressedAlertsIncluded()
Includes suppressed alerts.
Includes suppressed alerts.
public void setSuppressedAlertsIncluded(java.lang.Boolean suppressedAlertsIncluded)
Includes suppressed alerts.
suppressedAlertsIncluded
- Includes suppressed alerts.
public DetectMitigationActionsTaskSummary withSuppressedAlertsIncluded(java.lang.Boolean suppressedAlertsIncluded)
Includes suppressed alerts.
Returns a reference to this object so that method calls can be chained together.
suppressedAlertsIncluded
- Includes suppressed alerts.
public java.util.List<MitigationAction> getActionsDefinition()
The definition of the actions.
The definition of the actions.
public void setActionsDefinition(java.util.Collection<MitigationAction> actionsDefinition)
The definition of the actions.
actionsDefinition
- The definition of the actions.
public DetectMitigationActionsTaskSummary withActionsDefinition(MitigationAction... actionsDefinition)
The definition of the actions.
Returns a reference to this object so that method calls can be chained together.
actionsDefinition
- The definition of the actions.
public DetectMitigationActionsTaskSummary withActionsDefinition(java.util.Collection<MitigationAction> actionsDefinition)
The definition of the actions.
Returns a reference to this object so that method calls can be chained together.
actionsDefinition
- The definition of the actions.
public DetectMitigationActionsTaskStatistics getTaskStatistics()
The statistics of a mitigation action task.
The statistics of a mitigation action task.
public void setTaskStatistics(DetectMitigationActionsTaskStatistics taskStatistics)
The statistics of a mitigation action task.
taskStatistics
- The statistics of a mitigation action task.
public DetectMitigationActionsTaskSummary withTaskStatistics(DetectMitigationActionsTaskStatistics taskStatistics)
The statistics of a mitigation action task.
Returns a reference to this object so that method calls can be chained together.
taskStatistics
- The statistics of a mitigation action task.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.