public class AuditTaskMetadata
extends java.lang.Object
implements java.io.Serializable
The audits that were performed.
Constructor and Description |
---|
AuditTaskMetadata() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTaskId()
The ID of this audit.
|
java.lang.String |
getTaskStatus()
The status of this audit.
|
java.lang.String |
getTaskType()
The type of this audit.
|
int |
hashCode() |
void |
setTaskId(java.lang.String taskId)
The ID of this audit.
|
void |
setTaskStatus(AuditTaskStatus taskStatus)
The status of this audit.
|
void |
setTaskStatus(java.lang.String taskStatus)
The status of this audit.
|
void |
setTaskType(AuditTaskType taskType)
The type of this audit.
|
void |
setTaskType(java.lang.String taskType)
The type of this audit.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuditTaskMetadata |
withTaskId(java.lang.String taskId)
The ID of this audit.
|
AuditTaskMetadata |
withTaskStatus(AuditTaskStatus taskStatus)
The status of this audit.
|
AuditTaskMetadata |
withTaskStatus(java.lang.String taskStatus)
The status of this audit.
|
AuditTaskMetadata |
withTaskType(AuditTaskType taskType)
The type of this audit.
|
AuditTaskMetadata |
withTaskType(java.lang.String taskType)
The type of this audit.
|
public java.lang.String getTaskId()
The ID of this audit.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
The ID of this audit.
public void setTaskId(java.lang.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(java.lang.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 java.lang.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".
AuditTaskStatus
public void setTaskStatus(java.lang.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".
AuditTaskStatus
public AuditTaskMetadata withTaskStatus(java.lang.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".
AuditTaskStatus
public 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".
AuditTaskStatus
public 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".
AuditTaskStatus
public java.lang.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".
AuditTaskType
public void setTaskType(java.lang.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".
AuditTaskType
public AuditTaskMetadata withTaskType(java.lang.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".
AuditTaskType
public 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".
AuditTaskType
public 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".
AuditTaskType
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.