Class ListTaskDefinitionFamiliesResult
- java.lang.Object
-
- com.amazonaws.services.ecs.model.ListTaskDefinitionFamiliesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListTaskDefinitionFamiliesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTaskDefinitionFamiliesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTaskDefinitionFamiliesResult
clone()
boolean
equals(Object obj)
List<String>
getFamilies()
The list of task definition family names that match theListTaskDefinitionFamilies
request.String
getNextToken()
ThenextToken
value to include in a futureListTaskDefinitionFamilies
request.int
hashCode()
void
setFamilies(Collection<String> families)
The list of task definition family names that match theListTaskDefinitionFamilies
request.void
setNextToken(String nextToken)
ThenextToken
value to include in a futureListTaskDefinitionFamilies
request.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTaskDefinitionFamiliesResult
withFamilies(String... families)
The list of task definition family names that match theListTaskDefinitionFamilies
request.ListTaskDefinitionFamiliesResult
withFamilies(Collection<String> families)
The list of task definition family names that match theListTaskDefinitionFamilies
request.ListTaskDefinitionFamiliesResult
withNextToken(String nextToken)
ThenextToken
value to include in a futureListTaskDefinitionFamilies
request.
-
-
-
Method Detail
-
getFamilies
public List<String> getFamilies()
The list of task definition family names that match the
ListTaskDefinitionFamilies
request.- Returns:
- The list of task definition family names that match the
ListTaskDefinitionFamilies
request.
-
setFamilies
public void setFamilies(Collection<String> families)
The list of task definition family names that match the
ListTaskDefinitionFamilies
request.- Parameters:
families
- The list of task definition family names that match theListTaskDefinitionFamilies
request.
-
withFamilies
public ListTaskDefinitionFamiliesResult withFamilies(String... families)
The list of task definition family names that match the
ListTaskDefinitionFamilies
request.NOTE: This method appends the values to the existing list (if any). Use
setFamilies(java.util.Collection)
orwithFamilies(java.util.Collection)
if you want to override the existing values.- Parameters:
families
- The list of task definition family names that match theListTaskDefinitionFamilies
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFamilies
public ListTaskDefinitionFamiliesResult withFamilies(Collection<String> families)
The list of task definition family names that match the
ListTaskDefinitionFamilies
request.- Parameters:
families
- The list of task definition family names that match theListTaskDefinitionFamilies
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 futureListTaskDefinitionFamilies
request. When the results of aListTaskDefinitionFamilies
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 futureListTaskDefinitionFamilies
request. When the results of aListTaskDefinitionFamilies
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 futureListTaskDefinitionFamilies
request. When the results of aListTaskDefinitionFamilies
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 futureListTaskDefinitionFamilies
request. When the results of aListTaskDefinitionFamilies
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 ListTaskDefinitionFamiliesResult withNextToken(String nextToken)
The
nextToken
value to include in a futureListTaskDefinitionFamilies
request. When the results of aListTaskDefinitionFamilies
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 futureListTaskDefinitionFamilies
request. When the results of aListTaskDefinitionFamilies
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 ListTaskDefinitionFamiliesResult clone()
-
-