public class ListTaskDefinitionsRequest extends AmazonWebServiceRequest implements Serializable
ListTaskDefinitions operation
.
Returns a list of task definitions that are registered to your
account. You can filter the results by family name with the
familyPrefix
parameter.
NOOP
Constructor and Description |
---|
ListTaskDefinitionsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFamilyPrefix()
The name of the family that you want to filter the
ListTaskDefinitions results with. |
Integer |
getMaxResults()
The maximum number of task definition results returned by
ListTaskDefinitions in paginated output. |
String |
getNextToken()
The
nextToken value returned from a previous paginated
ListTaskDefinitions request where maxResults
was used and the results exceeded the value of that parameter. |
int |
hashCode() |
void |
setFamilyPrefix(String familyPrefix)
The name of the family that you want to filter the
ListTaskDefinitions results with. |
void |
setMaxResults(Integer maxResults)
The maximum number of task definition results returned by
ListTaskDefinitions in paginated output. |
void |
setNextToken(String nextToken)
The
nextToken value returned from a previous paginated
ListTaskDefinitions request where maxResults
was used and the results exceeded the value of that parameter. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTaskDefinitionsRequest |
withFamilyPrefix(String familyPrefix)
The name of the family that you want to filter the
ListTaskDefinitions results with. |
ListTaskDefinitionsRequest |
withMaxResults(Integer maxResults)
The maximum number of task definition results returned by
ListTaskDefinitions in paginated output. |
ListTaskDefinitionsRequest |
withNextToken(String nextToken)
The
nextToken value returned from a previous paginated
ListTaskDefinitions request where maxResults
was used and the results exceeded the value of that parameter. |
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getFamilyPrefix()
ListTaskDefinitions
results with. Specifying a
familyPrefix
will limit the listed task definitions to
definitions that belong to that family.ListTaskDefinitions
results with. Specifying a
familyPrefix
will limit the listed task definitions to
definitions that belong to that family.public void setFamilyPrefix(String familyPrefix)
ListTaskDefinitions
results with. Specifying a
familyPrefix
will limit the listed task definitions to
definitions that belong to that family.familyPrefix
- The name of the family that you want to filter the
ListTaskDefinitions
results with. Specifying a
familyPrefix
will limit the listed task definitions to
definitions that belong to that family.public ListTaskDefinitionsRequest withFamilyPrefix(String familyPrefix)
ListTaskDefinitions
results with. Specifying a
familyPrefix
will limit the listed task definitions to
definitions that belong to that family.
Returns a reference to this object so that method calls can be chained together.
familyPrefix
- The name of the family that you want to filter the
ListTaskDefinitions
results with. Specifying a
familyPrefix
will limit the listed task definitions to
definitions that belong to that family.public String getNextToken()
nextToken
value returned from a previous paginated
ListTaskDefinitions
request where maxResults
was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that
returned the nextToken
value. This value is
null
when there are no more results to return.nextToken
value returned from a previous paginated
ListTaskDefinitions
request where maxResults
was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that
returned the nextToken
value. This value is
null
when there are no more results to return.public void setNextToken(String nextToken)
nextToken
value returned from a previous paginated
ListTaskDefinitions
request where maxResults
was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that
returned the nextToken
value. This value is
null
when there are no more results to return.nextToken
- The nextToken
value returned from a previous paginated
ListTaskDefinitions
request where maxResults
was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that
returned the nextToken
value. This value is
null
when there are no more results to return.public ListTaskDefinitionsRequest withNextToken(String nextToken)
nextToken
value returned from a previous paginated
ListTaskDefinitions
request where maxResults
was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that
returned the nextToken
value. This value is
null
when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The nextToken
value returned from a previous paginated
ListTaskDefinitions
request where maxResults
was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that
returned the nextToken
value. This value is
null
when there are no more results to return.public Integer getMaxResults()
ListTaskDefinitions
in paginated output. When this
parameter is used, ListTaskDefinitions
only returns
maxResults
results in a single page along with a
nextToken
response element. The remaining results of the
initial request can be seen by sending another
ListTaskDefinitions
request with the returned
nextToken
value. This value can be between 1 and 100. If
this parameter is not used, then ListTaskDefinitions
returns up to 100 results and a nextToken
value if
applicable.ListTaskDefinitions
in paginated output. When this
parameter is used, ListTaskDefinitions
only returns
maxResults
results in a single page along with a
nextToken
response element. The remaining results of the
initial request can be seen by sending another
ListTaskDefinitions
request with the returned
nextToken
value. This value can be between 1 and 100. If
this parameter is not used, then ListTaskDefinitions
returns up to 100 results and a nextToken
value if
applicable.public void setMaxResults(Integer maxResults)
ListTaskDefinitions
in paginated output. When this
parameter is used, ListTaskDefinitions
only returns
maxResults
results in a single page along with a
nextToken
response element. The remaining results of the
initial request can be seen by sending another
ListTaskDefinitions
request with the returned
nextToken
value. This value can be between 1 and 100. If
this parameter is not used, then ListTaskDefinitions
returns up to 100 results and a nextToken
value if
applicable.maxResults
- The maximum number of task definition results returned by
ListTaskDefinitions
in paginated output. When this
parameter is used, ListTaskDefinitions
only returns
maxResults
results in a single page along with a
nextToken
response element. The remaining results of the
initial request can be seen by sending another
ListTaskDefinitions
request with the returned
nextToken
value. This value can be between 1 and 100. If
this parameter is not used, then ListTaskDefinitions
returns up to 100 results and a nextToken
value if
applicable.public ListTaskDefinitionsRequest withMaxResults(Integer maxResults)
ListTaskDefinitions
in paginated output. When this
parameter is used, ListTaskDefinitions
only returns
maxResults
results in a single page along with a
nextToken
response element. The remaining results of the
initial request can be seen by sending another
ListTaskDefinitions
request with the returned
nextToken
value. This value can be between 1 and 100. If
this parameter is not used, then ListTaskDefinitions
returns up to 100 results and a nextToken
value if
applicable.
Returns a reference to this object so that method calls can be chained together.
maxResults
- The maximum number of task definition results returned by
ListTaskDefinitions
in paginated output. When this
parameter is used, ListTaskDefinitions
only returns
maxResults
results in a single page along with a
nextToken
response element. The remaining results of the
initial request can be seen by sending another
ListTaskDefinitions
request with the returned
nextToken
value. This value can be between 1 and 100. If
this parameter is not used, then ListTaskDefinitions
returns up to 100 results and a nextToken
value if
applicable.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.