@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAuditMitigationActionsTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAuditMitigationActionsTaskResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAuditMitigationActionsTaskResult |
addAuditCheckToActionsMappingEntry(String key,
List<String> value)
Add a single AuditCheckToActionsMapping entry
|
DescribeAuditMitigationActionsTaskResult |
addTaskStatisticsEntry(String key,
TaskStatisticsForAuditCheck value)
Add a single TaskStatistics entry
|
DescribeAuditMitigationActionsTaskResult |
clearAuditCheckToActionsMappingEntries()
Removes all the entries added into AuditCheckToActionsMapping.
|
DescribeAuditMitigationActionsTaskResult |
clearTaskStatisticsEntries()
Removes all the entries added into TaskStatistics.
|
DescribeAuditMitigationActionsTaskResult |
clone() |
boolean |
equals(Object obj) |
List<MitigationAction> |
getActionsDefinition()
Specifies the mitigation actions and their parameters that are applied as part of this task.
|
Map<String,List<String>> |
getAuditCheckToActionsMapping()
Specifies the mitigation actions that should be applied to specific audit checks.
|
Date |
getEndTime()
The date and time when the task was completed or canceled.
|
Date |
getStartTime()
The date and time when the task was started.
|
AuditMitigationActionsTaskTarget |
getTarget()
Identifies the findings to which the mitigation actions are applied.
|
Map<String,TaskStatisticsForAuditCheck> |
getTaskStatistics()
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation
actions task.
|
String |
getTaskStatus()
The current status of the task.
|
int |
hashCode() |
void |
setActionsDefinition(Collection<MitigationAction> actionsDefinition)
Specifies the mitigation actions and their parameters that are applied as part of this task.
|
void |
setAuditCheckToActionsMapping(Map<String,List<String>> auditCheckToActionsMapping)
Specifies the mitigation actions that should be applied to specific audit checks.
|
void |
setEndTime(Date endTime)
The date and time when the task was completed or canceled.
|
void |
setStartTime(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(Map<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(String taskStatus)
The current status of the task.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAuditMitigationActionsTaskResult |
withActionsDefinition(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(Map<String,List<String>> auditCheckToActionsMapping)
Specifies the mitigation actions that should be applied to specific audit checks.
|
DescribeAuditMitigationActionsTaskResult |
withEndTime(Date endTime)
The date and time when the task was completed or canceled.
|
DescribeAuditMitigationActionsTaskResult |
withStartTime(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(Map<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(String taskStatus)
The current status of the task.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeAuditMitigationActionsTaskResult()
public void setTaskStatus(String taskStatus)
The current status of the task.
taskStatus
- The current status of the task.AuditMitigationActionsTaskStatus
public String getTaskStatus()
The current status of the task.
AuditMitigationActionsTaskStatus
public DescribeAuditMitigationActionsTaskResult withTaskStatus(String taskStatus)
The current status of the task.
taskStatus
- The current status of the task.AuditMitigationActionsTaskStatus
public DescribeAuditMitigationActionsTaskResult withTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current status of the task.
taskStatus
- The current status of the task.AuditMitigationActionsTaskStatus
public void setStartTime(Date startTime)
The date and time when the task was started.
startTime
- The date and time when the task was started.public Date getStartTime()
The date and time when the task was started.
public DescribeAuditMitigationActionsTaskResult withStartTime(Date startTime)
The date and time when the task was started.
startTime
- The date and time when the task was started.public void setEndTime(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 Date getEndTime()
The date and time when the task was completed or canceled.
public DescribeAuditMitigationActionsTaskResult withEndTime(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 Map<String,TaskStatisticsForAuditCheck> getTaskStatistics()
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
public void setTaskStatistics(Map<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(Map<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 addTaskStatisticsEntry(String key, TaskStatisticsForAuditCheck value)
public DescribeAuditMitigationActionsTaskResult clearTaskStatisticsEntries()
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 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.
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.
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 Map<String,List<String>> getAuditCheckToActionsMapping()
Specifies the mitigation actions that should be applied to specific audit checks.
public void setAuditCheckToActionsMapping(Map<String,List<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(Map<String,List<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 addAuditCheckToActionsMappingEntry(String key, List<String> value)
public DescribeAuditMitigationActionsTaskResult clearAuditCheckToActionsMappingEntries()
public List<MitigationAction> getActionsDefinition()
Specifies the mitigation actions and their parameters that are applied as part of this task.
public void setActionsDefinition(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.
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
- Specifies the mitigation actions and their parameters that are applied as part of this task.public DescribeAuditMitigationActionsTaskResult withActionsDefinition(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 String toString()
toString
in class Object
Object.toString()
public DescribeAuditMitigationActionsTaskResult clone()