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 ListTaskDefinitionsResultclone()booleanequals(Object obj)StringgetNextToken()ThenextTokenvalue to include in a futureListTaskDefinitionsrequest.List<String>getTaskDefinitionArns()The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitionsrequest.inthashCode()voidsetNextToken(String nextToken)ThenextTokenvalue to include in a futureListTaskDefinitionsrequest.voidsetTaskDefinitionArns(Collection<String> taskDefinitionArns)The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitionsrequest.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTaskDefinitionsResultwithNextToken(String nextToken)ThenextTokenvalue to include in a futureListTaskDefinitionsrequest.ListTaskDefinitionsResultwithTaskDefinitionArns(String... taskDefinitionArns)The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitionsrequest.ListTaskDefinitionsResultwithTaskDefinitionArns(Collection<String> taskDefinitionArns)The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitionsrequest.
-
-
-
Method Detail
-
getTaskDefinitionArns
public List<String> getTaskDefinitionArns()
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitionsrequest.- Returns:
- The list of task definition Amazon Resource Name (ARN) entries
for the
ListTaskDefinitionsrequest.
-
setTaskDefinitionArns
public void setTaskDefinitionArns(Collection<String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitionsrequest.- Parameters:
taskDefinitionArns- The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitionsrequest.
-
withTaskDefinitionArns
public ListTaskDefinitionsResult withTaskDefinitionArns(String... taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitionsrequest.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 theListTaskDefinitionsrequest.- 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
ListTaskDefinitionsrequest.- Parameters:
taskDefinitionArns- The list of task definition Amazon Resource Name (ARN) entries for theListTaskDefinitionsrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextTokenvalue to include in a futureListTaskDefinitionsrequest. When the results of aListTaskDefinitionsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListTaskDefinitionsrequest. When the results of aListTaskDefinitionsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
getNextToken
public String getNextToken()
The
nextTokenvalue to include in a futureListTaskDefinitionsrequest. When the results of aListTaskDefinitionsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- The
nextTokenvalue to include in a futureListTaskDefinitionsrequest. When the results of aListTaskDefinitionsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
withNextToken
public ListTaskDefinitionsResult withNextToken(String nextToken)
The
nextTokenvalue to include in a futureListTaskDefinitionsrequest. When the results of aListTaskDefinitionsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListTaskDefinitionsrequest. When the results of aListTaskDefinitionsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTaskDefinitionsResult clone()
-
-