@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuditTaskMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The audits that were performed.
| Constructor and Description |
|---|
AuditTaskMetadata() |
| Modifier and Type | Method and Description |
|---|---|
AuditTaskMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getTaskId()
The ID of this audit.
|
String |
getTaskStatus()
The status of this audit.
|
String |
getTaskType()
The type of this audit.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTaskId(String taskId)
The ID of this audit.
|
void |
setTaskStatus(String taskStatus)
The status of this audit.
|
void |
setTaskType(String taskType)
The type of this audit.
|
String |
toString()
Returns a string representation of this object.
|
AuditTaskMetadata |
withTaskId(String taskId)
The ID of this audit.
|
AuditTaskMetadata |
withTaskStatus(AuditTaskStatus taskStatus)
The status of this audit.
|
AuditTaskMetadata |
withTaskStatus(String taskStatus)
The status of this audit.
|
AuditTaskMetadata |
withTaskType(AuditTaskType taskType)
The type of this audit.
|
AuditTaskMetadata |
withTaskType(String taskType)
The type of this audit.
|
public void setTaskId(String taskId)
The ID of this audit.
taskId - The ID of this audit.public String getTaskId()
The ID of this audit.
public AuditTaskMetadata withTaskId(String taskId)
The ID of this audit.
taskId - The ID of this audit.public void setTaskStatus(String taskStatus)
The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
taskStatus - The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".AuditTaskStatuspublic String getTaskStatus()
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".
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".
taskStatus - The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".AuditTaskStatuspublic void setTaskType(String taskType)
The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
taskType - The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".AuditTaskTypepublic String getTaskType()
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".
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".
taskType - The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".AuditTaskTypepublic String toString()
toString in class ObjectObject.toString()public AuditTaskMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.