@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectMitigationActionsTaskSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of the mitigation action tasks.
Constructor and Description |
---|
DetectMitigationActionsTaskSummary() |
Modifier and Type | Method and Description |
---|---|
DetectMitigationActionsTaskSummary |
clone() |
boolean |
equals(Object obj) |
List<MitigationAction> |
getActionsDefinition()
The definition of the actions.
|
Boolean |
getOnlyActiveViolationsIncluded()
Includes only active violations.
|
Boolean |
getSuppressedAlertsIncluded()
Includes suppressed alerts.
|
DetectMitigationActionsTaskTarget |
getTarget()
Specifies the ML Detect findings to which the mitigation actions are applied.
|
Date |
getTaskEndTime()
The date the task ended.
|
String |
getTaskId()
The unique identifier of the task.
|
Date |
getTaskStartTime()
The date the task started.
|
DetectMitigationActionsTaskStatistics |
getTaskStatistics()
The statistics of a mitigation action task.
|
String |
getTaskStatus()
The status of the task.
|
ViolationEventOccurrenceRange |
getViolationEventOccurrenceRange()
Specifies the time period of which violation events occurred between.
|
int |
hashCode() |
Boolean |
isOnlyActiveViolationsIncluded()
Includes only active violations.
|
Boolean |
isSuppressedAlertsIncluded()
Includes suppressed alerts.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionsDefinition(Collection<MitigationAction> actionsDefinition)
The definition of the actions.
|
void |
setOnlyActiveViolationsIncluded(Boolean onlyActiveViolationsIncluded)
Includes only active violations.
|
void |
setSuppressedAlertsIncluded(Boolean suppressedAlertsIncluded)
Includes suppressed alerts.
|
void |
setTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are applied.
|
void |
setTaskEndTime(Date taskEndTime)
The date the task ended.
|
void |
setTaskId(String taskId)
The unique identifier of the task.
|
void |
setTaskStartTime(Date taskStartTime)
The date the task started.
|
void |
setTaskStatistics(DetectMitigationActionsTaskStatistics taskStatistics)
The statistics of a mitigation action task.
|
void |
setTaskStatus(String taskStatus)
The status of the task.
|
void |
setViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
|
String |
toString()
Returns a string representation of this object.
|
DetectMitigationActionsTaskSummary |
withActionsDefinition(Collection<MitigationAction> actionsDefinition)
The definition of the actions.
|
DetectMitigationActionsTaskSummary |
withActionsDefinition(MitigationAction... actionsDefinition)
The definition of the actions.
|
DetectMitigationActionsTaskSummary |
withOnlyActiveViolationsIncluded(Boolean onlyActiveViolationsIncluded)
Includes only active violations.
|
DetectMitigationActionsTaskSummary |
withSuppressedAlertsIncluded(Boolean suppressedAlertsIncluded)
Includes suppressed alerts.
|
DetectMitigationActionsTaskSummary |
withTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are applied.
|
DetectMitigationActionsTaskSummary |
withTaskEndTime(Date taskEndTime)
The date the task ended.
|
DetectMitigationActionsTaskSummary |
withTaskId(String taskId)
The unique identifier of the task.
|
DetectMitigationActionsTaskSummary |
withTaskStartTime(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(String taskStatus)
The status of the task.
|
DetectMitigationActionsTaskSummary |
withViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
|
public void setTaskId(String taskId)
The unique identifier of the task.
taskId
- The unique identifier of the task.public String getTaskId()
The unique identifier of the task.
public DetectMitigationActionsTaskSummary withTaskId(String taskId)
The unique identifier of the task.
taskId
- The unique identifier of the task.public void setTaskStatus(String taskStatus)
The status of the task.
taskStatus
- The status of the task.DetectMitigationActionsTaskStatus
public String getTaskStatus()
The status of the task.
DetectMitigationActionsTaskStatus
public DetectMitigationActionsTaskSummary withTaskStatus(String taskStatus)
The status of the task.
taskStatus
- The status of the task.DetectMitigationActionsTaskStatus
public DetectMitigationActionsTaskSummary withTaskStatus(DetectMitigationActionsTaskStatus taskStatus)
The status of the task.
taskStatus
- The status of the task.DetectMitigationActionsTaskStatus
public void setTaskStartTime(Date taskStartTime)
The date the task started.
taskStartTime
- The date the task started.public Date getTaskStartTime()
The date the task started.
public DetectMitigationActionsTaskSummary withTaskStartTime(Date taskStartTime)
The date the task started.
taskStartTime
- The date the task started.public void setTaskEndTime(Date taskEndTime)
The date the task ended.
taskEndTime
- The date the task ended.public Date getTaskEndTime()
The date the task ended.
public DetectMitigationActionsTaskSummary withTaskEndTime(Date taskEndTime)
The date the task ended.
taskEndTime
- The date the task ended.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 DetectMitigationActionsTaskTarget getTarget()
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.
target
- Specifies the ML Detect findings to which the mitigation actions are applied.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 ViolationEventOccurrenceRange getViolationEventOccurrenceRange()
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.
violationEventOccurrenceRange
- Specifies the time period of which violation events occurred between.public void setOnlyActiveViolationsIncluded(Boolean onlyActiveViolationsIncluded)
Includes only active violations.
onlyActiveViolationsIncluded
- Includes only active violations.public Boolean getOnlyActiveViolationsIncluded()
Includes only active violations.
public DetectMitigationActionsTaskSummary withOnlyActiveViolationsIncluded(Boolean onlyActiveViolationsIncluded)
Includes only active violations.
onlyActiveViolationsIncluded
- Includes only active violations.public Boolean isOnlyActiveViolationsIncluded()
Includes only active violations.
public void setSuppressedAlertsIncluded(Boolean suppressedAlertsIncluded)
Includes suppressed alerts.
suppressedAlertsIncluded
- Includes suppressed alerts.public Boolean getSuppressedAlertsIncluded()
Includes suppressed alerts.
public DetectMitigationActionsTaskSummary withSuppressedAlertsIncluded(Boolean suppressedAlertsIncluded)
Includes suppressed alerts.
suppressedAlertsIncluded
- Includes suppressed alerts.public Boolean isSuppressedAlertsIncluded()
Includes suppressed alerts.
public List<MitigationAction> getActionsDefinition()
The definition of the actions.
public void setActionsDefinition(Collection<MitigationAction> actionsDefinition)
The definition of the actions.
actionsDefinition
- The definition of the actions.public DetectMitigationActionsTaskSummary withActionsDefinition(MitigationAction... actionsDefinition)
The definition of the actions.
NOTE: This method appends the values to the existing list (if any). Use
setActionsDefinition(java.util.Collection)
or withActionsDefinition(java.util.Collection)
if
you want to override the existing values.
actionsDefinition
- The definition of the actions.public DetectMitigationActionsTaskSummary withActionsDefinition(Collection<MitigationAction> actionsDefinition)
The definition of the actions.
actionsDefinition
- The definition of the actions.public void setTaskStatistics(DetectMitigationActionsTaskStatistics taskStatistics)
The statistics of a mitigation action task.
taskStatistics
- The statistics of a mitigation action task.public DetectMitigationActionsTaskStatistics getTaskStatistics()
The statistics of a mitigation action task.
public DetectMitigationActionsTaskSummary withTaskStatistics(DetectMitigationActionsTaskStatistics taskStatistics)
The statistics of a mitigation action task.
taskStatistics
- The statistics of a mitigation action task.public String toString()
toString
in class Object
Object.toString()
public DetectMitigationActionsTaskSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.