public class ListTasksResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ListTasksResult() |
Modifier and Type | Method and Description |
---|---|
ListTasksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
nextToken value to include in a future
ListTasks request. |
List<String> |
getTaskArns()
The list of task Amazon Resource Name (ARN) entries for the
ListTasks request. |
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken value to include in a future
ListTasks request. |
void |
setTaskArns(Collection<String> taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks request. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTasksResult |
withNextToken(String nextToken)
The
nextToken value to include in a future
ListTasks request. |
ListTasksResult |
withTaskArns(Collection<String> taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks request. |
ListTasksResult |
withTaskArns(String... taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks request. |
public List<String> getTaskArns()
ListTasks
request.ListTasks
request.public void setTaskArns(Collection<String> taskArns)
ListTasks
request.taskArns
- The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.public ListTasksResult withTaskArns(String... taskArns)
ListTasks
request.
NOTE: This method appends the values to the existing list (if
any). Use setTaskArns(java.util.Collection)
or withTaskArns(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
taskArns
- The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.public ListTasksResult withTaskArns(Collection<String> taskArns)
ListTasks
request.
Returns a reference to this object so that method calls can be chained together.
taskArns
- The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.public String getNextToken()
nextToken
value to include in a future
ListTasks
request. When the results of a
ListTasks
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is
null
when there are no more results to return.nextToken
value to include in a future
ListTasks
request. When the results of a
ListTasks
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is
null
when there are no more results to return.public void setNextToken(String nextToken)
nextToken
value to include in a future
ListTasks
request. When the results of a
ListTasks
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is
null
when there are no more results to return.nextToken
- The nextToken
value to include in a future
ListTasks
request. When the results of a
ListTasks
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is
null
when there are no more results to return.public ListTasksResult withNextToken(String nextToken)
nextToken
value to include in a future
ListTasks
request. When the results of a
ListTasks
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is
null
when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The nextToken
value to include in a future
ListTasks
request. When the results of a
ListTasks
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is
null
when there are no more results to return.public String toString()
toString
in class Object
Object.toString()
public ListTasksResult clone()
Copyright © 2015. All rights reserved.