Class ListTaskDefinitionsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ecs.model.ListTaskDefinitionsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListTaskDefinitionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTaskDefinitionsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTaskDefinitionsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetFamilyPrefix()The full family name with which to filter theListTaskDefinitionsresults.IntegergetMaxResults()The maximum number of task definition results returned byListTaskDefinitionsin paginated output.StringgetNextToken()ThenextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter.StringgetSort()The order in which to sort the results.StringgetStatus()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.voidsetSort(SortOrder sort)The order in which to sort the results.voidsetSort(String sort)The order in which to sort the results.voidsetStatus(TaskDefinitionStatus status)The task definition status with which to filter theListTaskDefinitionsresults.voidsetStatus(String status)The task definition status with which to filter theListTaskDefinitionsresults.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTaskDefinitionsRequestwithFamilyPrefix(String familyPrefix)The full family name with which to filter theListTaskDefinitionsresults.ListTaskDefinitionsRequestwithMaxResults(Integer maxResults)The maximum number of task definition results returned byListTaskDefinitionsin paginated output.ListTaskDefinitionsRequestwithNextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListTaskDefinitionsrequest wheremaxResultswas used and the results exceeded the value of that parameter.ListTaskDefinitionsRequestwithSort(SortOrder sort)The order in which to sort the results.ListTaskDefinitionsRequestwithSort(String sort)The order in which to sort the results.ListTaskDefinitionsRequestwithStatus(TaskDefinitionStatus status)The task definition status with which to filter theListTaskDefinitionsresults.ListTaskDefinitionsRequestwithStatus(String status)The task definition status with which to filter theListTaskDefinitionsresults.-
Methods inherited from class com.amazonaws.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
-
-
-
-
Method Detail
-
setFamilyPrefix
public void setFamilyPrefix(String familyPrefix)
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
public String 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
public ListTaskDefinitionsRequest withFamilyPrefix(String familyPrefix)
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
public void setStatus(String status)
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:
TaskDefinitionStatus
-
getStatus
public String 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:
TaskDefinitionStatus
-
withStatus
public ListTaskDefinitionsRequest withStatus(String status)
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:
TaskDefinitionStatus
-
setStatus
public void setStatus(TaskDefinitionStatus status)
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:
TaskDefinitionStatus
-
withStatus
public ListTaskDefinitionsRequest withStatus(TaskDefinitionStatus status)
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:
TaskDefinitionStatus
-
setSort
public void setSort(String sort)
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:
SortOrder
-
getSort
public String 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:
SortOrder
-
withSort
public ListTaskDefinitionsRequest withSort(String sort)
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:
SortOrder
-
setSort
public void setSort(SortOrder sort)
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:
SortOrder
-
withSort
public ListTaskDefinitionsRequest withSort(SortOrder sort)
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:
SortOrder
-
setNextToken
public void setNextToken(String nextToken)
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
public String 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
public ListTaskDefinitionsRequest withNextToken(String nextToken)
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
public void setMaxResults(Integer maxResults)
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
public Integer 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
public ListTaskDefinitionsRequest withMaxResults(Integer maxResults)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTaskDefinitionsRequest 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:
Object.clone()
-
-