public class DescribeExportTasksRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status.
| Constructor and Description |
|---|
DescribeExportTasksRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getLimit()
The maximum number of items returned.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
java.lang.String |
getStatusCode()
The status code of the export task.
|
java.lang.String |
getTaskId()
The ID of the export task.
|
int |
hashCode() |
void |
setLimit(java.lang.Integer limit)
The maximum number of items returned.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
void |
setStatusCode(ExportTaskStatusCode statusCode)
The status code of the export task.
|
void |
setStatusCode(java.lang.String statusCode)
The status code of the export task.
|
void |
setTaskId(java.lang.String taskId)
The ID of the export task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeExportTasksRequest |
withLimit(java.lang.Integer limit)
The maximum number of items returned.
|
DescribeExportTasksRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
DescribeExportTasksRequest |
withStatusCode(ExportTaskStatusCode statusCode)
The status code of the export task.
|
DescribeExportTasksRequest |
withStatusCode(java.lang.String statusCode)
The status code of the export task.
|
DescribeExportTasksRequest |
withTaskId(java.lang.String taskId)
The ID of the export task.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getTaskId()
The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
Constraints:
Length: 1 - 512
The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
public void setTaskId(java.lang.String taskId)
The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
Constraints:
Length: 1 - 512
taskId - The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
public DescribeExportTasksRequest withTaskId(java.lang.String taskId)
The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
taskId - The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
public java.lang.String getStatusCode()
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
ExportTaskStatusCodepublic void setStatusCode(java.lang.String statusCode)
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
statusCode - The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
ExportTaskStatusCodepublic DescribeExportTasksRequest withStatusCode(java.lang.String statusCode)
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
statusCode - The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
ExportTaskStatusCodepublic void setStatusCode(ExportTaskStatusCode statusCode)
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
statusCode - The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
ExportTaskStatusCodepublic DescribeExportTasksRequest withStatusCode(ExportTaskStatusCode statusCode)
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CANCELLED, COMPLETED, FAILED, PENDING,
PENDING_CANCEL, RUNNING
statusCode - The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
ExportTaskStatusCodepublic java.lang.String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Length: 1 -
The token for the next set of items to return. (You received this token from a previous call.)
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Length: 1 -
nextToken - The token for the next set of items to return. (You received this token from a previous call.)
public DescribeExportTasksRequest withNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken - The token for the next set of items to return. (You received this token from a previous call.)
public java.lang.Integer getLimit()
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
Constraints:
Range: 1 - 50
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
public void setLimit(java.lang.Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
Constraints:
Range: 1 - 50
limit - The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
public DescribeExportTasksRequest withLimit(java.lang.Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
limit - The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
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.