@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTasksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
ListTasksResponse
Constructor and Description |
---|
ListTasksResult() |
Modifier and Type | Method and Description |
---|---|
ListTasksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An opaque string that indicates the position at which to begin returning the next list of tasks.
|
List<TaskListEntry> |
getTasks()
A list of all the tasks that are returned.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of tasks.
|
void |
setTasks(Collection<TaskListEntry> tasks)
A list of all the tasks that are returned.
|
String |
toString()
Returns a string representation of this object.
|
ListTasksResult |
withNextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of tasks.
|
ListTasksResult |
withTasks(Collection<TaskListEntry> tasks)
A list of all the tasks that are returned.
|
ListTasksResult |
withTasks(TaskListEntry... tasks)
A list of all the tasks that are returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TaskListEntry> getTasks()
A list of all the tasks that are returned.
public void setTasks(Collection<TaskListEntry> tasks)
A list of all the tasks that are returned.
tasks
- A list of all the tasks that are returned.public ListTasksResult withTasks(TaskListEntry... tasks)
A list of all the tasks that are returned.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection)
or withTasks(java.util.Collection)
if you want to override the
existing values.
tasks
- A list of all the tasks that are returned.public ListTasksResult withTasks(Collection<TaskListEntry> tasks)
A list of all the tasks that are returned.
tasks
- A list of all the tasks that are returned.public void setNextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of tasks.
nextToken
- An opaque string that indicates the position at which to begin returning the next list of tasks.public String getNextToken()
An opaque string that indicates the position at which to begin returning the next list of tasks.
public ListTasksResult withNextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of tasks.
nextToken
- An opaque string that indicates the position at which to begin returning the next list of tasks.public String toString()
toString
in class Object
Object.toString()
public ListTasksResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.