@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() |
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) |
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) |
ListTasksRequest |
withFilters(TaskFilter... filters)
NOTE: This method appends the values to the existing list (if any).
|
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()
public void setFilters(Collection<TaskFilter> filters)
filters
- public ListTasksRequest withFilters(TaskFilter... filters)
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
- public ListTasksRequest withFilters(Collection<TaskFilter> filters)
filters
- public String toString()
toString
in class Object
Object.toString()
public ListTasksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()