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()
The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.
ListTasks
request.public void setTaskArns(Collection<String> taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.
taskArns
- The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.public ListTasksResult withTaskArns(String... taskArns)
The list of task Amazon Resource Name (ARN) entries for the
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.
taskArns
- The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.public ListTasksResult withTaskArns(Collection<String> taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.
taskArns
- The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.public void setNextToken(String 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.
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 getNextToken()
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.
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)
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.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.