public class AuditMitigationActionsTaskMetadata extends Object implements Serializable
Information about an audit mitigation actions task that is returned by
ListAuditMitigationActionsTasks.
| Constructor and Description |
|---|
AuditMitigationActionsTaskMetadata() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getStartTime()
The time at which the audit mitigation actions task was started.
|
String |
getTaskId()
The unique identifier for the task.
|
String |
getTaskStatus()
The current state of the audit mitigation actions task.
|
int |
hashCode() |
void |
setStartTime(Date startTime)
The time at which the audit mitigation actions task was started.
|
void |
setTaskId(String taskId)
The unique identifier for the task.
|
void |
setTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current state of the audit mitigation actions task.
|
void |
setTaskStatus(String taskStatus)
The current state of the audit mitigation actions task.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuditMitigationActionsTaskMetadata |
withStartTime(Date startTime)
The time at which the audit mitigation actions task was started.
|
AuditMitigationActionsTaskMetadata |
withTaskId(String taskId)
The unique identifier for the task.
|
AuditMitigationActionsTaskMetadata |
withTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current state of the audit mitigation actions task.
|
AuditMitigationActionsTaskMetadata |
withTaskStatus(String taskStatus)
The current state of the audit mitigation actions task.
|
public String getTaskId()
The unique identifier for the task.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The unique identifier for the task.
public void setTaskId(String taskId)
The unique identifier for the task.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
taskId - The unique identifier for the task.
public AuditMitigationActionsTaskMetadata withTaskId(String taskId)
The unique identifier for 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 for the task.
public Date getStartTime()
The time at which the audit mitigation actions task was started.
The time at which the audit mitigation actions task was started.
public void setStartTime(Date startTime)
The time at which the audit mitigation actions task was started.
startTime - The time at which the audit mitigation actions task was started.
public AuditMitigationActionsTaskMetadata withStartTime(Date startTime)
The time at which the audit mitigation actions task was started.
Returns a reference to this object so that method calls can be chained together.
startTime - The time at which the audit mitigation actions task was started.
public String getTaskStatus()
The current state of the audit mitigation actions task.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
The current state of the audit mitigation actions task.
AuditMitigationActionsTaskStatuspublic void setTaskStatus(String taskStatus)
The current state of the audit mitigation actions task.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus - The current state of the audit mitigation actions task.
AuditMitigationActionsTaskStatuspublic AuditMitigationActionsTaskMetadata withTaskStatus(String taskStatus)
The current state of the audit mitigation actions 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 state of the audit mitigation actions task.
AuditMitigationActionsTaskStatuspublic void setTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current state of the audit mitigation actions task.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus - The current state of the audit mitigation actions task.
AuditMitigationActionsTaskStatuspublic AuditMitigationActionsTaskMetadata withTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current state of the audit mitigation actions 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 state of the audit mitigation actions task.
AuditMitigationActionsTaskStatuspublic String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.