@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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) |
Integer |
getMaxResults()
The maximum number of tasks per page.
|
String |
getNextToken()
A pagination token to continue to the next page of tasks.
|
String |
getState()
A structure used to filter the list of tasks.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of tasks per page.
|
void |
setNextToken(String nextToken)
A pagination token to continue to the next page of tasks.
|
void |
setState(String state)
A structure used to filter the list of tasks.
|
String |
toString()
Returns a string representation of this object.
|
ListTasksRequest |
withMaxResults(Integer maxResults)
The maximum number of tasks per page.
|
ListTasksRequest |
withNextToken(String nextToken)
A pagination token to continue to the next page of tasks.
|
ListTasksRequest |
withState(String state)
A structure used to filter the list of tasks.
|
ListTasksRequest |
withState(TaskState state)
A structure used to filter the 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, withSdkRequestTimeoutpublic void setMaxResults(Integer maxResults)
The maximum number of tasks per page.
maxResults - The maximum number of tasks per page.public Integer getMaxResults()
The maximum number of tasks per page.
public ListTasksRequest withMaxResults(Integer maxResults)
The maximum number of tasks per page.
maxResults - The maximum number of tasks per page.public void setNextToken(String nextToken)
A pagination token to continue to the next page of tasks.
nextToken - A pagination token to continue to the next page of tasks.public String getNextToken()
A pagination token to continue to the next page of tasks.
public ListTasksRequest withNextToken(String nextToken)
A pagination token to continue to the next page of tasks.
nextToken - A pagination token to continue to the next page of tasks.public void setState(String state)
A structure used to filter the list of tasks.
state - A structure used to filter the list of tasks.TaskStatepublic String getState()
A structure used to filter the list of tasks.
TaskStatepublic ListTasksRequest withState(String state)
A structure used to filter the list of tasks.
state - A structure used to filter the list of tasks.TaskStatepublic ListTasksRequest withState(TaskState state)
A structure used to filter the list of tasks.
state - A structure used to filter the list of tasks.TaskStatepublic String toString()
toString in class ObjectObject.toString()public ListTasksRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()