public class AuditTaskMetadata extends Object implements Serializable
The audits that were performed.
| Constructor and Description |
|---|
AuditTaskMetadata() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getTaskId()
The ID of this audit.
|
String |
getTaskStatus()
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or
"CANCELED".
|
String |
getTaskType()
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or
"SCHEDULED_AUDIT_TASK".
|
int |
hashCode() |
void |
setTaskId(String taskId)
The ID of this audit.
|
void |
setTaskStatus(AuditTaskStatus taskStatus)
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or
"CANCELED".
|
void |
setTaskStatus(String taskStatus)
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or
"CANCELED".
|
void |
setTaskType(AuditTaskType taskType)
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or
"SCHEDULED_AUDIT_TASK".
|
void |
setTaskType(String taskType)
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or
"SCHEDULED_AUDIT_TASK".
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuditTaskMetadata |
withTaskId(String taskId)
The ID of this audit.
|
AuditTaskMetadata |
withTaskStatus(AuditTaskStatus taskStatus)
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or
"CANCELED".
|
AuditTaskMetadata |
withTaskStatus(String taskStatus)
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or
"CANCELED".
|
AuditTaskMetadata |
withTaskType(AuditTaskType taskType)
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or
"SCHEDULED_AUDIT_TASK".
|
AuditTaskMetadata |
withTaskType(String taskType)
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or
"SCHEDULED_AUDIT_TASK".
|
public String getTaskId()
The ID of this audit.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
The ID of this audit.
public void setTaskId(String taskId)
The ID of this audit.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
taskId - The ID of this audit.
public AuditTaskMetadata withTaskId(String taskId)
The ID of this audit.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
taskId - The ID of this audit.
public String getTaskStatus()
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
AuditTaskStatuspublic void setTaskStatus(String taskStatus)
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus - The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
AuditTaskStatuspublic AuditTaskMetadata withTaskStatus(String taskStatus)
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus - The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
AuditTaskStatuspublic void setTaskStatus(AuditTaskStatus taskStatus)
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus - The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
AuditTaskStatuspublic AuditTaskMetadata withTaskStatus(AuditTaskStatus taskStatus)
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus - The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
AuditTaskStatuspublic String getTaskType()
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskTypepublic void setTaskType(String taskType)
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
taskType - The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskTypepublic AuditTaskMetadata withTaskType(String taskType)
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
taskType - The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskTypepublic void setTaskType(AuditTaskType taskType)
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
taskType - The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskTypepublic AuditTaskMetadata withTaskType(AuditTaskType taskType)
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
taskType - The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.