public class DescribeAuditMitigationActionsTaskResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeAuditMitigationActionsTaskResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAuditMitigationActionsTaskResult |
addauditCheckToActionsMappingEntry(java.lang.String key,
java.util.List<java.lang.String> value)
Specifies the mitigation actions that should be applied to specific audit
checks.
|
DescribeAuditMitigationActionsTaskResult |
addtaskStatisticsEntry(java.lang.String key,
TaskStatisticsForAuditCheck value)
Aggregate counts of the results when the mitigation tasks were applied to
the findings for this audit mitigation actions task.
|
DescribeAuditMitigationActionsTaskResult |
clearauditCheckToActionsMappingEntries()
Removes all the entries added into auditCheckToActionsMapping.
|
DescribeAuditMitigationActionsTaskResult |
cleartaskStatisticsEntries()
Removes all the entries added into taskStatistics.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<MitigationAction> |
getActionsDefinition()
Specifies the mitigation actions and their parameters that are applied as
part of this task.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getAuditCheckToActionsMapping()
Specifies the mitigation actions that should be applied to specific audit
checks.
|
java.util.Date |
getEndTime()
The date and time when the task was completed or canceled.
|
java.util.Date |
getStartTime()
The date and time when the task was started.
|
AuditMitigationActionsTaskTarget |
getTarget()
Identifies the findings to which the mitigation actions are applied.
|
java.util.Map<java.lang.String,TaskStatisticsForAuditCheck> |
getTaskStatistics()
Aggregate counts of the results when the mitigation tasks were applied to
the findings for this audit mitigation actions task.
|
java.lang.String |
getTaskStatus()
The current status of the task.
|
int |
hashCode() |
void |
setActionsDefinition(java.util.Collection<MitigationAction> actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as
part of this task.
|
void |
setAuditCheckToActionsMapping(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auditCheckToActionsMapping)
Specifies the mitigation actions that should be applied to specific audit
checks.
|
void |
setEndTime(java.util.Date endTime)
The date and time when the task was completed or canceled.
|
void |
setStartTime(java.util.Date startTime)
The date and time when the task was started.
|
void |
setTarget(AuditMitigationActionsTaskTarget target)
Identifies the findings to which the mitigation actions are applied.
|
void |
setTaskStatistics(java.util.Map<java.lang.String,TaskStatisticsForAuditCheck> taskStatistics)
Aggregate counts of the results when the mitigation tasks were applied to
the findings for this audit mitigation actions task.
|
void |
setTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current status of the task.
|
void |
setTaskStatus(java.lang.String taskStatus)
The current status of the task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAuditMitigationActionsTaskResult |
withActionsDefinition(java.util.Collection<MitigationAction> actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as
part of this task.
|
DescribeAuditMitigationActionsTaskResult |
withActionsDefinition(MitigationAction... actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as
part of this task.
|
DescribeAuditMitigationActionsTaskResult |
withAuditCheckToActionsMapping(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auditCheckToActionsMapping)
Specifies the mitigation actions that should be applied to specific audit
checks.
|
DescribeAuditMitigationActionsTaskResult |
withEndTime(java.util.Date endTime)
The date and time when the task was completed or canceled.
|
DescribeAuditMitigationActionsTaskResult |
withStartTime(java.util.Date startTime)
The date and time when the task was started.
|
DescribeAuditMitigationActionsTaskResult |
withTarget(AuditMitigationActionsTaskTarget target)
Identifies the findings to which the mitigation actions are applied.
|
DescribeAuditMitigationActionsTaskResult |
withTaskStatistics(java.util.Map<java.lang.String,TaskStatisticsForAuditCheck> taskStatistics)
Aggregate counts of the results when the mitigation tasks were applied to
the findings for this audit mitigation actions task.
|
DescribeAuditMitigationActionsTaskResult |
withTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current status of the task.
|
DescribeAuditMitigationActionsTaskResult |
withTaskStatus(java.lang.String taskStatus)
The current status of the task.
|
public DescribeAuditMitigationActionsTaskResult()
public java.lang.String getTaskStatus()
The current status of the task.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
The current status of the task.
AuditMitigationActionsTaskStatus
public void setTaskStatus(java.lang.String taskStatus)
The current status of the task.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- The current status of the task.
AuditMitigationActionsTaskStatus
public DescribeAuditMitigationActionsTaskResult withTaskStatus(java.lang.String taskStatus)
The current status of the task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- The current status of the task.
AuditMitigationActionsTaskStatus
public void setTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current status of the task.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- The current status of the task.
AuditMitigationActionsTaskStatus
public DescribeAuditMitigationActionsTaskResult withTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current status of the task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- The current status of the task.
AuditMitigationActionsTaskStatus
public java.util.Date getStartTime()
The date and time when the task was started.
The date and time when the task was started.
public void setStartTime(java.util.Date startTime)
The date and time when the task was started.
startTime
- The date and time when the task was started.
public DescribeAuditMitigationActionsTaskResult withStartTime(java.util.Date startTime)
The date and time when the task was started.
Returns a reference to this object so that method calls can be chained together.
startTime
- The date and time when the task was started.
public java.util.Date getEndTime()
The date and time when the task was completed or canceled.
The date and time when the task was completed or canceled.
public void setEndTime(java.util.Date endTime)
The date and time when the task was completed or canceled.
endTime
- The date and time when the task was completed or canceled.
public DescribeAuditMitigationActionsTaskResult withEndTime(java.util.Date endTime)
The date and time when the task was completed or canceled.
Returns a reference to this object so that method calls can be chained together.
endTime
- The date and time when the task was completed or canceled.
public java.util.Map<java.lang.String,TaskStatisticsForAuditCheck> getTaskStatistics()
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
public void setTaskStatistics(java.util.Map<java.lang.String,TaskStatisticsForAuditCheck> taskStatistics)
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
taskStatistics
- Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
public DescribeAuditMitigationActionsTaskResult withTaskStatistics(java.util.Map<java.lang.String,TaskStatisticsForAuditCheck> taskStatistics)
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
Returns a reference to this object so that method calls can be chained together.
taskStatistics
- Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
public DescribeAuditMitigationActionsTaskResult addtaskStatisticsEntry(java.lang.String key, TaskStatisticsForAuditCheck value)
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
The method adds a new key-value pair into taskStatistics parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into taskStatistics.value
- The corresponding value of the entry to be added into
taskStatistics.public DescribeAuditMitigationActionsTaskResult cleartaskStatisticsEntries()
Returns a reference to this object so that method calls can be chained together.
public AuditMitigationActionsTaskTarget getTarget()
Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
public void setTarget(AuditMitigationActionsTaskTarget target)
Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
target
- Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
public DescribeAuditMitigationActionsTaskResult withTarget(AuditMitigationActionsTaskTarget target)
Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
Returns a reference to this object so that method calls can be chained together.
target
- Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAuditCheckToActionsMapping()
Specifies the mitigation actions that should be applied to specific audit checks.
Specifies the mitigation actions that should be applied to specific audit checks.
public void setAuditCheckToActionsMapping(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auditCheckToActionsMapping)
Specifies the mitigation actions that should be applied to specific audit checks.
auditCheckToActionsMapping
- Specifies the mitigation actions that should be applied to specific audit checks.
public DescribeAuditMitigationActionsTaskResult withAuditCheckToActionsMapping(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auditCheckToActionsMapping)
Specifies the mitigation actions that should be applied to specific audit checks.
Returns a reference to this object so that method calls can be chained together.
auditCheckToActionsMapping
- Specifies the mitigation actions that should be applied to specific audit checks.
public DescribeAuditMitigationActionsTaskResult addauditCheckToActionsMappingEntry(java.lang.String key, java.util.List<java.lang.String> value)
Specifies the mitigation actions that should be applied to specific audit checks.
The method adds a new key-value pair into auditCheckToActionsMapping parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into
auditCheckToActionsMapping.value
- The corresponding value of the entry to be added into
auditCheckToActionsMapping.public DescribeAuditMitigationActionsTaskResult clearauditCheckToActionsMappingEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.List<MitigationAction> getActionsDefinition()
Specifies the mitigation actions and their parameters that are applied as part of this task.
Specifies the mitigation actions and their parameters that are applied as part of this task.
public void setActionsDefinition(java.util.Collection<MitigationAction> actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as part of this task.
actionsDefinition
- Specifies the mitigation actions and their parameters that are applied as part of this task.
public DescribeAuditMitigationActionsTaskResult withActionsDefinition(MitigationAction... actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as part of this task.
Returns a reference to this object so that method calls can be chained together.
actionsDefinition
- Specifies the mitigation actions and their parameters that are applied as part of this task.
public DescribeAuditMitigationActionsTaskResult withActionsDefinition(java.util.Collection<MitigationAction> actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as part of this task.
Returns a reference to this object so that method calls can be chained together.
actionsDefinition
- Specifies the mitigation actions and their parameters that are applied as part of this 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.