Class ListTaskDefinitionsResult
- java.lang.Object
-
- com.amazonaws.services.ecs.model.ListTaskDefinitionsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListTaskDefinitionsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTaskDefinitionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTaskDefinitionsResult
clone()
boolean
equals(Object obj)
String
getNextToken()
ThenextToken
value to include in a futureListTaskDefinitions
request.List<String>
getTaskDefinitionArns()
The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitions
request.int
hashCode()
void
setNextToken(String nextToken)
ThenextToken
value to include in a futureListTaskDefinitions
request.void
setTaskDefinitionArns(Collection<String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitions
request.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTaskDefinitionsResult
withNextToken(String nextToken)
ThenextToken
value to include in a futureListTaskDefinitions
request.ListTaskDefinitionsResult
withTaskDefinitionArns(String... taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitions
request.ListTaskDefinitionsResult
withTaskDefinitionArns(Collection<String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitions
request.
-
-
-
Method Detail
-
getTaskDefinitionArns
public List<String> getTaskDefinitionArns()
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions
request.- Returns:
- The list of task definition Amazon Resource Name (ARN) entries
for the
ListTaskDefinitions
request.
-
setTaskDefinitionArns
public void setTaskDefinitionArns(Collection<String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions
request.- Parameters:
taskDefinitionArns
- The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitions
request.
-
withTaskDefinitionArns
public ListTaskDefinitionsResult withTaskDefinitionArns(String... taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions
request.NOTE: This method appends the values to the existing list (if any). Use
setTaskDefinitionArns(java.util.Collection)
orwithTaskDefinitionArns(java.util.Collection)
if you want to override the existing values.- Parameters:
taskDefinitionArns
- The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitions
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTaskDefinitionArns
public ListTaskDefinitionsResult withTaskDefinitionArns(Collection<String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions
request.- Parameters:
taskDefinitionArns
- The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitions
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 futureListTaskDefinitions
request. When the results of aListTaskDefinitions
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 futureListTaskDefinitions
request. When the results of aListTaskDefinitions
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 futureListTaskDefinitions
request. When the results of aListTaskDefinitions
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 futureListTaskDefinitions
request. When the results of aListTaskDefinitions
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 ListTaskDefinitionsResult withNextToken(String nextToken)
The
nextToken
value to include in a futureListTaskDefinitions
request. When the results of aListTaskDefinitions
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 futureListTaskDefinitions
request. When the results of aListTaskDefinitions
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 ListTaskDefinitionsResult clone()
-
-