@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".AuditTaskStatus
public String getTaskStatus()
The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatus
public 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".AuditTaskStatus
public 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".AuditTaskStatus
public 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".AuditTaskType
public String getTaskType()
The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskType
public 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".AuditTaskType
public 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".AuditTaskType
public String toString()
toString
in class Object
Object.toString()
public AuditTaskMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.