@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTaskDefinitionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTaskDefinitionsResult() |
Modifier and Type | Method and Description |
---|---|
ListTaskDefinitionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
nextToken value to include in a future ListTaskDefinitions request. |
List<String> |
getTaskDefinitionArns()
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions request. |
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListTaskDefinitions request. |
void |
setTaskDefinitionArns(Collection<String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions request. |
String |
toString()
Returns a string representation of this object.
|
ListTaskDefinitionsResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListTaskDefinitions request. |
ListTaskDefinitionsResult |
withTaskDefinitionArns(Collection<String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions request. |
ListTaskDefinitionsResult |
withTaskDefinitionArns(String... taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getTaskDefinitionArns()
The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions
request.
ListTaskDefinitions
request.public void setTaskDefinitionArns(Collection<String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions
request.
taskDefinitionArns
- The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions
request.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)
or withTaskDefinitionArns(java.util.Collection)
if
you want to override the existing values.
taskDefinitionArns
- The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions
request.public ListTaskDefinitionsResult withTaskDefinitionArns(Collection<String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions
request.
taskDefinitionArns
- The list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions
request.public void setNextToken(String nextToken)
The nextToken
value to include in a future ListTaskDefinitions
request. When the
results of a ListTaskDefinitions
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 ListTaskDefinitions
request. When the
results of a ListTaskDefinitions
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 ListTaskDefinitions
request. When the
results of a ListTaskDefinitions
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 ListTaskDefinitions
request. When
the results of a ListTaskDefinitions
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 ListTaskDefinitionsResult withNextToken(String nextToken)
The nextToken
value to include in a future ListTaskDefinitions
request. When the
results of a ListTaskDefinitions
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 ListTaskDefinitions
request. When the
results of a ListTaskDefinitions
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 ListTaskDefinitionsResult clone()