public class ListTasksResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The
nextToken value to include in a future
ListTasks request. |
private SdkInternalList<java.lang.String> |
taskArns
The list of task Amazon Resource Name (ARN) entries for the
ListTasks request. |
Constructor and Description |
---|
ListTasksResult() |
Modifier and Type | Method and Description |
---|---|
ListTasksResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The
nextToken value to include in a future
ListTasks request. |
java.util.List<java.lang.String> |
getTaskArns()
The list of task Amazon Resource Name (ARN) entries for the
ListTasks request. |
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListTasks request. |
void |
setTaskArns(java.util.Collection<java.lang.String> taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTasksResult |
withNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListTasks request. |
ListTasksResult |
withTaskArns(java.util.Collection<java.lang.String> taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks request. |
ListTasksResult |
withTaskArns(java.lang.String... taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks request. |
private SdkInternalList<java.lang.String> taskArns
The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.
private java.lang.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.
public java.util.List<java.lang.String> getTaskArns()
The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.
ListTasks
request.public void setTaskArns(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListTasksResult clone()
clone
in class java.lang.Object