public class ListTaskDefinitionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The
nextToken value to include in a future
ListTaskDefinitions request. |
private SdkInternalList<java.lang.String> |
taskDefinitionArns
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions request. |
Constructor and Description |
---|
ListTaskDefinitionsResult() |
Modifier and Type | Method and Description |
---|---|
ListTaskDefinitionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The
nextToken value to include in a future
ListTaskDefinitions request. |
java.util.List<java.lang.String> |
getTaskDefinitionArns()
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions request. |
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListTaskDefinitions request. |
void |
setTaskDefinitionArns(java.util.Collection<java.lang.String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTaskDefinitionsResult |
withNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListTaskDefinitions request. |
ListTaskDefinitionsResult |
withTaskDefinitionArns(java.util.Collection<java.lang.String> taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions request. |
ListTaskDefinitionsResult |
withTaskDefinitionArns(java.lang.String... taskDefinitionArns)
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions request. |
private SdkInternalList<java.lang.String> taskDefinitionArns
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions
request.
private java.lang.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.
public java.util.List<java.lang.String> getTaskDefinitionArns()
The list of task definition Amazon Resource Name (ARN) entries for the
ListTaskDefinitions
request.
ListTaskDefinitions
request.public void setTaskDefinitionArns(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListTaskDefinitionsResult clone()
clone
in class java.lang.Object