public class DescribeAuditTaskResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeAuditTaskResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAuditTaskResult |
addauditDetailsEntry(java.lang.String key,
AuditCheckDetails value)
Detailed information about each check performed during this audit.
|
DescribeAuditTaskResult |
clearauditDetailsEntries()
Removes all the entries added into auditDetails.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,AuditCheckDetails> |
getAuditDetails()
Detailed information about each check performed during this audit.
|
java.lang.String |
getScheduledAuditName()
The name of the scheduled audit (only if the audit was a scheduled
audit).
|
java.util.Date |
getTaskStartTime()
The time the audit started.
|
TaskStatistics |
getTaskStatistics()
Statistical information about the audit.
|
java.lang.String |
getTaskStatus()
The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
java.lang.String |
getTaskType()
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
int |
hashCode() |
void |
setAuditDetails(java.util.Map<java.lang.String,AuditCheckDetails> auditDetails)
Detailed information about each check performed during this audit.
|
void |
setScheduledAuditName(java.lang.String scheduledAuditName)
The name of the scheduled audit (only if the audit was a scheduled
audit).
|
void |
setTaskStartTime(java.util.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(java.lang.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(java.lang.String taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAuditTaskResult |
withAuditDetails(java.util.Map<java.lang.String,AuditCheckDetails> auditDetails)
Detailed information about each check performed during this audit.
|
DescribeAuditTaskResult |
withScheduledAuditName(java.lang.String scheduledAuditName)
The name of the scheduled audit (only if the audit was a scheduled
audit).
|
DescribeAuditTaskResult |
withTaskStartTime(java.util.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(java.lang.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(java.lang.String taskType)
The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.Date getTaskStartTime()
The time the audit started.
The time the audit started.
public void setTaskStartTime(java.util.Date taskStartTime)
The time the audit started.
taskStartTime
- The time the audit started.
public DescribeAuditTaskResult withTaskStartTime(java.util.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 java.lang.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(java.lang.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(java.lang.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 java.util.Map<java.lang.String,AuditCheckDetails> getAuditDetails()
Detailed information about each check performed during this audit.
Detailed information about each check performed during this audit.
public void setAuditDetails(java.util.Map<java.lang.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(java.util.Map<java.lang.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(java.lang.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 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.