@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTaskDefinitionFamiliesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTaskDefinitionFamiliesResult() |
Modifier and Type | Method and Description |
---|---|
ListTaskDefinitionFamiliesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFamilies()
The list of task definition family names that match the
ListTaskDefinitionFamilies request. |
String |
getNextToken()
The
nextToken value to include in a future ListTaskDefinitionFamilies request. |
int |
hashCode() |
void |
setFamilies(Collection<String> families)
The list of task definition family names that match the
ListTaskDefinitionFamilies request. |
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListTaskDefinitionFamilies request. |
String |
toString()
Returns a string representation of this object.
|
ListTaskDefinitionFamiliesResult |
withFamilies(Collection<String> families)
The list of task definition family names that match the
ListTaskDefinitionFamilies request. |
ListTaskDefinitionFamiliesResult |
withFamilies(String... families)
The list of task definition family names that match the
ListTaskDefinitionFamilies request. |
ListTaskDefinitionFamiliesResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListTaskDefinitionFamilies request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getFamilies()
The list of task definition family names that match the ListTaskDefinitionFamilies
request.
ListTaskDefinitionFamilies
request.public void setFamilies(Collection<String> families)
The list of task definition family names that match the ListTaskDefinitionFamilies
request.
families
- The list of task definition family names that match the ListTaskDefinitionFamilies
request.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)
or withFamilies(java.util.Collection)
if you want to override
the existing values.
families
- The list of task definition family names that match the ListTaskDefinitionFamilies
request.public ListTaskDefinitionFamiliesResult withFamilies(Collection<String> families)
The list of task definition family names that match the ListTaskDefinitionFamilies
request.
families
- The list of task definition family names that match the ListTaskDefinitionFamilies
request.public void setNextToken(String nextToken)
The nextToken
value to include in a future ListTaskDefinitionFamilies
request. When the
results of a ListTaskDefinitionFamilies
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 ListTaskDefinitionFamilies
request.
When the results of a ListTaskDefinitionFamilies
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 String getNextToken()
The nextToken
value to include in a future ListTaskDefinitionFamilies
request. When the
results of a ListTaskDefinitionFamilies
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 ListTaskDefinitionFamilies
request.
When the results of a ListTaskDefinitionFamilies
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 ListTaskDefinitionFamiliesResult withNextToken(String nextToken)
The nextToken
value to include in a future ListTaskDefinitionFamilies
request. When the
results of a ListTaskDefinitionFamilies
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 ListTaskDefinitionFamilies
request.
When the results of a ListTaskDefinitionFamilies
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 String toString()
toString
in class Object
Object.toString()
public ListTaskDefinitionFamiliesResult clone()