@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRunTasksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRunTasksResult() |
Modifier and Type | Method and Description |
---|---|
ListRunTasksResult |
clone() |
boolean |
equals(Object obj) |
List<TaskListItem> |
getItems()
A list of tasks.
|
String |
getNextToken()
A pagination token that's included if more results are available.
|
int |
hashCode() |
void |
setItems(Collection<TaskListItem> items)
A list of tasks.
|
void |
setNextToken(String nextToken)
A pagination token that's included if more results are available.
|
String |
toString()
Returns a string representation of this object.
|
ListRunTasksResult |
withItems(Collection<TaskListItem> items)
A list of tasks.
|
ListRunTasksResult |
withItems(TaskListItem... items)
A list of tasks.
|
ListRunTasksResult |
withNextToken(String nextToken)
A pagination token that's included if more results are available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TaskListItem> getItems()
A list of tasks.
public void setItems(Collection<TaskListItem> items)
A list of tasks.
items
- A list of tasks.public ListRunTasksResult withItems(TaskListItem... items)
A list of tasks.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- A list of tasks.public ListRunTasksResult withItems(Collection<TaskListItem> items)
A list of tasks.
items
- A list of tasks.public void setNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String getNextToken()
A pagination token that's included if more results are available.
public ListRunTasksResult withNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String toString()
toString
in class Object
Object.toString()
public ListRunTasksResult clone()