Class ListTasksResult
- java.lang.Object
-
- com.amazonaws.services.ecs.model.ListTasksResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListTasksResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTasksResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTasksResult
clone()
boolean
equals(Object obj)
String
getNextToken()
ThenextToken
value to include in a futureListTasks
request.List<String>
getTaskArns()
The list of task Amazon Resource Name (ARN) entries for theListTasks
request.int
hashCode()
void
setNextToken(String nextToken)
ThenextToken
value to include in a futureListTasks
request.void
setTaskArns(Collection<String> taskArns)
The list of task Amazon Resource Name (ARN) entries for theListTasks
request.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTasksResult
withNextToken(String nextToken)
ThenextToken
value to include in a futureListTasks
request.ListTasksResult
withTaskArns(String... taskArns)
The list of task Amazon Resource Name (ARN) entries for theListTasks
request.ListTasksResult
withTaskArns(Collection<String> taskArns)
The list of task Amazon Resource Name (ARN) entries for theListTasks
request.
-
-
-
Method Detail
-
getTaskArns
public List<String> getTaskArns()
The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.- Returns:
- The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.
-
setTaskArns
public void setTaskArns(Collection<String> taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.- Parameters:
taskArns
- The list of task Amazon Resource Name (ARN) entries for theListTasks
request.
-
withTaskArns
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)
orwithTaskArns(java.util.Collection)
if you want to override the existing values.- Parameters:
taskArns
- The list of task Amazon Resource Name (ARN) entries for theListTasks
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTaskArns
public ListTasksResult withTaskArns(Collection<String> taskArns)
The list of task Amazon Resource Name (ARN) entries for the
ListTasks
request.- Parameters:
taskArns
- The list of task Amazon Resource Name (ARN) entries for theListTasks
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextToken
value to include in a futureListTasks
request. When the results of aListTasks
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListTasks
request. When the results of aListTasks
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
public String getNextToken()
The
nextToken
value to include in a futureListTasks
request. When the results of aListTasks
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- The
nextToken
value to include in a futureListTasks
request. When the results of aListTasks
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
withNextToken
public ListTasksResult withNextToken(String nextToken)
The
nextToken
value to include in a futureListTasks
request. When the results of aListTasks
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListTasks
request. When the results of aListTasks
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTasksResult clone()
-
-