public class AuditMitigationActionsTaskMetadata
extends java.lang.Object
implements java.io.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(java.lang.Object obj) |
java.util.Date |
getStartTime()
The time at which the audit mitigation actions task was started.
|
java.lang.String |
getTaskId()
The unique identifier for the task.
|
java.lang.String |
getTaskStatus()
The current state of the audit mitigation actions task.
|
int |
hashCode() |
void |
setStartTime(java.util.Date startTime)
The time at which the audit mitigation actions task was started.
|
void |
setTaskId(java.lang.String taskId)
The unique identifier for the task.
|
void |
setTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current state of the audit mitigation actions task.
|
void |
setTaskStatus(java.lang.String taskStatus)
The current state of the audit mitigation actions task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuditMitigationActionsTaskMetadata |
withStartTime(java.util.Date startTime)
The time at which the audit mitigation actions task was started.
|
AuditMitigationActionsTaskMetadata |
withTaskId(java.lang.String taskId)
The unique identifier for the task.
|
AuditMitigationActionsTaskMetadata |
withTaskStatus(AuditMitigationActionsTaskStatus taskStatus)
The current state of the audit mitigation actions task.
|
AuditMitigationActionsTaskMetadata |
withTaskStatus(java.lang.String taskStatus)
The current state of the audit mitigation actions task.
|
public java.lang.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(java.lang.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(java.lang.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 java.util.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(java.util.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(java.util.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 java.lang.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.
AuditMitigationActionsTaskStatus
public void setTaskStatus(java.lang.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.
AuditMitigationActionsTaskStatus
public AuditMitigationActionsTaskMetadata withTaskStatus(java.lang.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.
AuditMitigationActionsTaskStatus
public 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.
AuditMitigationActionsTaskStatus
public 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.
AuditMitigationActionsTaskStatus
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.