@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListTasksRequest
NOOP
Constructor and Description |
---|
ListTasksRequest() |
Modifier and Type | Method and Description |
---|---|
ListTasksRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<TaskFilter> |
getFilters()
You can use API filters to narrow down the list of resources returned by
ListTasks . |
Integer |
getMaxResults()
The maximum number of tasks to return.
|
String |
getNextToken()
An opaque string that indicates the position at which to begin the next list of tasks.
|
int |
hashCode() |
void |
setFilters(Collection<TaskFilter> filters)
You can use API filters to narrow down the list of resources returned by
ListTasks . |
void |
setMaxResults(Integer maxResults)
The maximum number of tasks to return.
|
void |
setNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of tasks.
|
String |
toString()
Returns a string representation of this object.
|
ListTasksRequest |
withFilters(Collection<TaskFilter> filters)
You can use API filters to narrow down the list of resources returned by
ListTasks . |
ListTasksRequest |
withFilters(TaskFilter... filters)
You can use API filters to narrow down the list of resources returned by
ListTasks . |
ListTasksRequest |
withMaxResults(Integer maxResults)
The maximum number of tasks to return.
|
ListTasksRequest |
withNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of tasks.
|
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 setMaxResults(Integer maxResults)
The maximum number of tasks to return.
maxResults
- The maximum number of tasks to return.public Integer getMaxResults()
The maximum number of tasks to return.
public ListTasksRequest withMaxResults(Integer maxResults)
The maximum number of tasks to return.
maxResults
- The maximum number of tasks to return.public void setNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of tasks.
nextToken
- An opaque string that indicates the position at which to begin the next list of tasks.public String getNextToken()
An opaque string that indicates the position at which to begin the next list of tasks.
public ListTasksRequest withNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of tasks.
nextToken
- An opaque string that indicates the position at which to begin the next list of tasks.public List<TaskFilter> getFilters()
You can use API filters to narrow down the list of resources returned by ListTasks
. For example, to
retrieve all tasks on a specific source location, you can use ListTasks
with filter name
LocationId
and Operator Equals
with the ARN for the location.
ListTasks
. For
example, to retrieve all tasks on a specific source location, you can use ListTasks
with
filter name LocationId
and Operator Equals
with the ARN for the location.public void setFilters(Collection<TaskFilter> filters)
You can use API filters to narrow down the list of resources returned by ListTasks
. For example, to
retrieve all tasks on a specific source location, you can use ListTasks
with filter name
LocationId
and Operator Equals
with the ARN for the location.
filters
- You can use API filters to narrow down the list of resources returned by ListTasks
. For
example, to retrieve all tasks on a specific source location, you can use ListTasks
with
filter name LocationId
and Operator Equals
with the ARN for the location.public ListTasksRequest withFilters(TaskFilter... filters)
You can use API filters to narrow down the list of resources returned by ListTasks
. For example, to
retrieve all tasks on a specific source location, you can use ListTasks
with filter name
LocationId
and Operator Equals
with the ARN for the location.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- You can use API filters to narrow down the list of resources returned by ListTasks
. For
example, to retrieve all tasks on a specific source location, you can use ListTasks
with
filter name LocationId
and Operator Equals
with the ARN for the location.public ListTasksRequest withFilters(Collection<TaskFilter> filters)
You can use API filters to narrow down the list of resources returned by ListTasks
. For example, to
retrieve all tasks on a specific source location, you can use ListTasks
with filter name
LocationId
and Operator Equals
with the ARN for the location.
filters
- You can use API filters to narrow down the list of resources returned by ListTasks
. For
example, to retrieve all tasks on a specific source location, you can use ListTasks
with
filter name LocationId
and Operator Equals
with the ARN for the location.public String toString()
toString
in class Object
Object.toString()
public ListTasksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()