public class ListAuditTasksRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the Device Defender audits that have been performed during a given time period.
| Constructor and Description |
|---|
ListAuditTasksRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getEndTime()
The end of the time period.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return at one time.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.util.Date |
getStartTime()
The beginning of the time period.
|
java.lang.String |
getTaskStatus()
A filter to limit the output to audits with the specified completion
status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
java.lang.String |
getTaskType()
A filter to limit the output to the specified type of audit: can be one
of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
|
int |
hashCode() |
void |
setEndTime(java.util.Date endTime)
The end of the time period.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setStartTime(java.util.Date startTime)
The beginning of the time period.
|
void |
setTaskStatus(AuditTaskStatus taskStatus)
A filter to limit the output to audits with the specified completion
status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
void |
setTaskStatus(java.lang.String taskStatus)
A filter to limit the output to audits with the specified completion
status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
void |
setTaskType(AuditTaskType taskType)
A filter to limit the output to the specified type of audit: can be one
of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
|
void |
setTaskType(java.lang.String taskType)
A filter to limit the output to the specified type of audit: can be one
of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAuditTasksRequest |
withEndTime(java.util.Date endTime)
The end of the time period.
|
ListAuditTasksRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
ListAuditTasksRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
ListAuditTasksRequest |
withStartTime(java.util.Date startTime)
The beginning of the time period.
|
ListAuditTasksRequest |
withTaskStatus(AuditTaskStatus taskStatus)
A filter to limit the output to audits with the specified completion
status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
ListAuditTasksRequest |
withTaskStatus(java.lang.String taskStatus)
A filter to limit the output to audits with the specified completion
status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or
"CANCELED".
|
ListAuditTasksRequest |
withTaskType(AuditTaskType taskType)
A filter to limit the output to the specified type of audit: can be one
of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
|
ListAuditTasksRequest |
withTaskType(java.lang.String taskType)
A filter to limit the output to the specified type of audit: can be one
of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.util.Date getStartTime()
The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".
The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".
public void setStartTime(java.util.Date startTime)
The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".
startTime - The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".
public ListAuditTasksRequest withStartTime(java.util.Date startTime)
The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".
Returns a reference to this object so that method calls can be chained together.
startTime - The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".
public java.util.Date getEndTime()
The end of the time period.
The end of the time period.
public void setEndTime(java.util.Date endTime)
The end of the time period.
endTime - The end of the time period.
public ListAuditTasksRequest withEndTime(java.util.Date endTime)
The end of the time period.
Returns a reference to this object so that method calls can be chained together.
endTime - The end of the time period.
public java.lang.String getTaskType()
A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
AuditTaskTypepublic void setTaskType(java.lang.String taskType)
A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
taskType - A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
AuditTaskTypepublic ListAuditTasksRequest withTaskType(java.lang.String taskType)
A filter to limit the output to the specified type of audit: can be 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 - A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
AuditTaskTypepublic void setTaskType(AuditTaskType taskType)
A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
Constraints:
Allowed Values: ON_DEMAND_AUDIT_TASK, SCHEDULED_AUDIT_TASK
taskType - A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
AuditTaskTypepublic ListAuditTasksRequest withTaskType(AuditTaskType taskType)
A filter to limit the output to the specified type of audit: can be 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 - A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
AuditTaskTypepublic java.lang.String getTaskStatus()
A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatuspublic void setTaskStatus(java.lang.String taskStatus)
A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus - A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatuspublic ListAuditTasksRequest withTaskStatus(java.lang.String taskStatus)
A filter to limit the output to audits with the specified completion status: can be 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 - A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatuspublic void setTaskStatus(AuditTaskStatus taskStatus)
A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
Constraints:
Allowed Values: IN_PROGRESS, COMPLETED, FAILED, CANCELED
taskStatus - A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatuspublic ListAuditTasksRequest withTaskStatus(AuditTaskStatus taskStatus)
A filter to limit the output to audits with the specified completion status: can be 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 - A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
AuditTaskStatuspublic java.lang.String getNextToken()
The token for the next set of results.
The token for the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results.
nextToken - The token for the next set of results.
public ListAuditTasksRequest withNextToken(java.lang.String nextToken)
The token for the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results.
public java.lang.Integer getMaxResults()
The maximum number of results to return at one time. The default is 25.
Constraints:
Range: 1 - 250
The maximum number of results to return at one time. The default is 25.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time. The default is 25.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time. The default is 25.
public ListAuditTasksRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time. The default is 25.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time. The default is 25.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.