@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAuditTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAuditTasksRequest() |
Modifier and Type | Method and Description |
---|---|
ListAuditTasksRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The end of the time period.
|
Integer |
getMaxResults()
The maximum number of results to return at one time.
|
String |
getNextToken()
The token for the next set of results.
|
Date |
getStartTime()
The beginning of the time period.
|
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".
|
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(Date endTime)
The end of the time period.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setStartTime(Date startTime)
The beginning of the time period.
|
void |
setTaskStatus(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(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".
|
String |
toString()
Returns a string representation of this object.
|
ListAuditTasksRequest |
withEndTime(Date endTime)
The end of the time period.
|
ListAuditTasksRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
ListAuditTasksRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListAuditTasksRequest |
withStartTime(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(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(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".
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStartTime(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 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".
public ListAuditTasksRequest withStartTime(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 void setEndTime(Date endTime)
The end of the time period.
endTime
- The end of the time period.public Date getEndTime()
The end of the time period.
public ListAuditTasksRequest withEndTime(Date endTime)
The end of the time period.
endTime
- The end of the time period.public void setTaskType(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".
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".AuditTaskType
public 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".
AuditTaskType
public ListAuditTasksRequest withTaskType(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".
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".AuditTaskType
public 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".
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".AuditTaskType
public void setTaskStatus(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".
taskStatus
- A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS",
"COMPLETED", "FAILED", or "CANCELED".AuditTaskStatus
public 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".
AuditTaskStatus
public ListAuditTasksRequest withTaskStatus(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".
taskStatus
- A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS",
"COMPLETED", "FAILED", or "CANCELED".AuditTaskStatus
public 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".
taskStatus
- A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS",
"COMPLETED", "FAILED", or "CANCELED".AuditTaskStatus
public void setNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String getNextToken()
The token for the next set of results.
public ListAuditTasksRequest withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return at one time. The default is 25.
maxResults
- The maximum number of results to return at one time. The default is 25.public Integer getMaxResults()
The maximum number of results to return at one time. The default is 25.
public ListAuditTasksRequest withMaxResults(Integer maxResults)
The maximum number of results to return at one time. The default is 25.
maxResults
- The maximum number of results to return at one time. The default is 25.public String toString()
toString
in class Object
Object.toString()
public ListAuditTasksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()