Class ListTaskDefinitionsRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe full family name with which to filter theListTaskDefinitionsresults.The maximum number of task definition results returned byListTaskDefinitionsin paginated output.ThenextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter.getSort()The order in which to sort the results.The task definition status with which to filter theListTaskDefinitionsresults.inthashCode()voidsetFamilyPrefix(String familyPrefix) The full family name with which to filter theListTaskDefinitionsresults.voidsetMaxResults(Integer maxResults) The maximum number of task definition results returned byListTaskDefinitionsin paginated output.voidsetNextToken(String nextToken) ThenextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter.voidThe order in which to sort the results.voidThe order in which to sort the results.voidsetStatus(TaskDefinitionStatus status) The task definition status with which to filter theListTaskDefinitionsresults.voidThe task definition status with which to filter theListTaskDefinitionsresults.toString()Returns a string representation of this object; useful for testing and debugging.withFamilyPrefix(String familyPrefix) The full family name with which to filter theListTaskDefinitionsresults.withMaxResults(Integer maxResults) The maximum number of task definition results returned byListTaskDefinitionsin paginated output.withNextToken(String nextToken) ThenextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter.The order in which to sort the results.The order in which to sort the results.withStatus(TaskDefinitionStatus status) The task definition status with which to filter theListTaskDefinitionsresults.withStatus(String status) The task definition status with which to filter theListTaskDefinitionsresults.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListTaskDefinitionsRequest
public ListTaskDefinitionsRequest()
-
-
Method Details
-
setFamilyPrefix
The full family name with which to filter the
ListTaskDefinitionsresults. Specifying afamilyPrefixlimits the listed task definitions to task definition revisions that belong to that family.- Parameters:
familyPrefix- The full family name with which to filter theListTaskDefinitionsresults. Specifying afamilyPrefixlimits the listed task definitions to task definition revisions that belong to that family.
-
getFamilyPrefix
The full family name with which to filter the
ListTaskDefinitionsresults. Specifying afamilyPrefixlimits the listed task definitions to task definition revisions that belong to that family.- Returns:
- The full family name with which to filter the
ListTaskDefinitionsresults. Specifying afamilyPrefixlimits the listed task definitions to task definition revisions that belong to that family.
-
withFamilyPrefix
The full family name with which to filter the
ListTaskDefinitionsresults. Specifying afamilyPrefixlimits the listed task definitions to task definition revisions that belong to that family.- Parameters:
familyPrefix- The full family name with which to filter theListTaskDefinitionsresults. Specifying afamilyPrefixlimits the listed task definitions to task definition revisions that belong to that family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The task definition status with which to filter the
ListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition status with which to filter theListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- See Also:
-
getStatus
The task definition status with which to filter the
ListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Returns:
- The task definition status with which to filter the
ListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request. - See Also:
-
withStatus
The task definition status with which to filter the
ListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition status with which to filter theListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The task definition status with which to filter the
ListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition status with which to filter theListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- See Also:
-
withStatus
The task definition status with which to filter the
ListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition status with which to filter theListTaskDefinitionsresults. By default, onlyACTIVEtask definitions are listed. By setting this parameter toINACTIVE, you can view task definitions that areINACTIVEas long as an active task or service still references them. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSort
The order in which to sort the results. Valid values are
ASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first.- Parameters:
sort- The order in which to sort the results. Valid values areASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first.- See Also:
-
getSort
The order in which to sort the results. Valid values are
ASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first.- Returns:
- The order in which to sort the results. Valid values are
ASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first. - See Also:
-
withSort
The order in which to sort the results. Valid values are
ASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first.- Parameters:
sort- The order in which to sort the results. Valid values areASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSort
The order in which to sort the results. Valid values are
ASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first.- Parameters:
sort- The order in which to sort the results. Valid values areASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first.- See Also:
-
withSort
The order in which to sort the results. Valid values are
ASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first.- Parameters:
sort- The order in which to sort the results. Valid values areASCandDESC. By default (ASC), task definitions are listed lexicographically by family name and in ascending numerical order by revision so that the newest task definitions in a family are listed last. Setting this parameter toDESCreverses the sort order on family name and revision so that the newest task definitions in a family are listed first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setNextToken
The
nextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
-
getNextToken
The
nextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- The
nextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
-
withNextToken
The
nextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
The maximum number of task definition results returned by
ListTaskDefinitionsin paginated output. When this parameter is used,ListTaskDefinitionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListTaskDefinitionsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionsreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of task definition results returned byListTaskDefinitionsin paginated output. When this parameter is used,ListTaskDefinitionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListTaskDefinitionsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionsreturns up to 100 results and anextTokenvalue if applicable.
-
getMaxResults
The maximum number of task definition results returned by
ListTaskDefinitionsin paginated output. When this parameter is used,ListTaskDefinitionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListTaskDefinitionsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionsreturns up to 100 results and anextTokenvalue if applicable.- Returns:
- The maximum number of task definition results returned by
ListTaskDefinitionsin paginated output. When this parameter is used,ListTaskDefinitionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListTaskDefinitionsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionsreturns up to 100 results and anextTokenvalue if applicable.
-
withMaxResults
The maximum number of task definition results returned by
ListTaskDefinitionsin paginated output. When this parameter is used,ListTaskDefinitionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListTaskDefinitionsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionsreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of task definition results returned byListTaskDefinitionsin paginated output. When this parameter is used,ListTaskDefinitionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListTaskDefinitionsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionsreturns up to 100 results and anextTokenvalue if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-