public class DescribeAuditTaskResult extends Object implements Serializable
Constructor and Description |
---|
DescribeAuditTaskResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAuditTaskResult |
addauditDetailsEntry(String key,
AuditCheckDetails value)
Detailed information about each check performed during this audit.
|
DescribeAuditTaskResult |
clearauditDetailsEntries()
Removes all the entries added into auditDetails.
|
boolean |
equals(Object obj) |
Map<String,AuditCheckDetails> |
getAuditDetails()
Detailed information about each check performed during this audit.
|
String |
getScheduledAuditName()
The name of the scheduled audit (only if the audit was a scheduled
audit).
|
Date |
getTaskStartTime()
The time the audit started.
|
TaskStatistics |
getTaskStatistics()
Statistical information about the audit.
|
String |
getTaskStatus()
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
String |
getTaskType()
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
int |
hashCode() |
void |
setAuditDetails(Map<String,AuditCheckDetails> auditDetails)
Detailed information about each check performed during this audit.
|
void |
setScheduledAuditName(String scheduledAuditName)
The name of the scheduled audit (only if the audit was a scheduled
audit).
|
void |
setTaskStartTime(Date taskStartTime)
The time the audit started.
|
void |
setTaskStatistics(TaskStatistics taskStatistics)
Statistical information about the audit.
|
void |
setTaskStatus(AuditTaskStatus taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
void |
setTaskStatus(String taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
void |
setTaskType(AuditTaskType taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
void |
setTaskType(String taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAuditTaskResult |
withAuditDetails(Map<String,AuditCheckDetails> auditDetails)
Detailed information about each check performed during this audit.
|
DescribeAuditTaskResult |
withScheduledAuditName(String scheduledAuditName)
The name of the scheduled audit (only if the audit was a scheduled
audit).
|
DescribeAuditTaskResult |
withTaskStartTime(Date taskStartTime)
The time the audit started.
|
DescribeAuditTaskResult |
withTaskStatistics(TaskStatistics taskStatistics)
Statistical information about the audit.
|
DescribeAuditTaskResult |
withTaskStatus(AuditTaskStatus taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
DescribeAuditTaskResult |
withTaskStatus(String taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
DescribeAuditTaskResult |
withTaskType(AuditTaskType taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
DescribeAuditTaskResult |
withTaskType(String taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
public String getTaskStatus()
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatus
public void setTaskStatus(String taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatus
public DescribeAuditTaskResult withTaskStatus(String taskStatus)
The status of the 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 the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatus
public void setTaskStatus(AuditTaskStatus taskStatus)
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus
- The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatus
public DescribeAuditTaskResult withTaskStatus(AuditTaskStatus taskStatus)
The status of the 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 the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatus
public String getTaskType()
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskType
public void setTaskType(String taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
taskType
- The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskType
public DescribeAuditTaskResult withTaskType(String taskType)
The type of audit: "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 audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskType
public void setTaskType(AuditTaskType taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
taskType
- The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskType
public DescribeAuditTaskResult withTaskType(AuditTaskType taskType)
The type of audit: "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 audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
AuditTaskType
public Date getTaskStartTime()
The time the audit started.
The time the audit started.
public void setTaskStartTime(Date taskStartTime)
The time the audit started.
taskStartTime
- The time the audit started.
public DescribeAuditTaskResult withTaskStartTime(Date taskStartTime)
The time the audit started.
Returns a reference to this object so that method calls can be chained together.
taskStartTime
- The time the audit started.
public TaskStatistics getTaskStatistics()
Statistical information about the audit.
Statistical information about the audit.
public void setTaskStatistics(TaskStatistics taskStatistics)
Statistical information about the audit.
taskStatistics
- Statistical information about the audit.
public DescribeAuditTaskResult withTaskStatistics(TaskStatistics taskStatistics)
Statistical information about the audit.
Returns a reference to this object so that method calls can be chained together.
taskStatistics
- Statistical information about the audit.
public String getScheduledAuditName()
The name of the scheduled audit (only if the audit was a scheduled audit).
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The name of the scheduled audit (only if the audit was a scheduled audit).
public void setScheduledAuditName(String scheduledAuditName)
The name of the scheduled audit (only if the audit was a scheduled audit).
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
scheduledAuditName
- The name of the scheduled audit (only if the audit was a scheduled audit).
public DescribeAuditTaskResult withScheduledAuditName(String scheduledAuditName)
The name of the scheduled audit (only if the audit was a scheduled audit).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
scheduledAuditName
- The name of the scheduled audit (only if the audit was a scheduled audit).
public Map<String,AuditCheckDetails> getAuditDetails()
Detailed information about each check performed during this audit.
Detailed information about each check performed during this audit.
public void setAuditDetails(Map<String,AuditCheckDetails> auditDetails)
Detailed information about each check performed during this audit.
auditDetails
- Detailed information about each check performed during this audit.
public DescribeAuditTaskResult withAuditDetails(Map<String,AuditCheckDetails> auditDetails)
Detailed information about each check performed during this audit.
Returns a reference to this object so that method calls can be chained together.
auditDetails
- Detailed information about each check performed during this audit.
public DescribeAuditTaskResult addauditDetailsEntry(String key, AuditCheckDetails value)
Detailed information about each check performed during this audit.
The method adds a new key-value pair into auditDetails parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into auditDetails.value
- The corresponding value of the entry to be added into
auditDetails.public DescribeAuditTaskResult clearauditDetailsEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.