Class ListTaskDefinitionFamiliesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ecs.model.ListTaskDefinitionFamiliesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListTaskDefinitionFamiliesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTaskDefinitionFamiliesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTaskDefinitionFamiliesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetFamilyPrefix()ThefamilyPrefixis a string that is used to filter the results ofListTaskDefinitionFamilies.IntegergetMaxResults()The maximum number of task definition family results returned byListTaskDefinitionFamiliesin paginated output.StringgetNextToken()ThenextTokenvalue returned from a previous paginatedListTaskDefinitionFamiliesrequest wheremaxResultswas used and the results exceeded the value of that parameter.StringgetStatus()The task definition family status with which to filter theListTaskDefinitionFamiliesresults.inthashCode()voidsetFamilyPrefix(String familyPrefix)ThefamilyPrefixis a string that is used to filter the results ofListTaskDefinitionFamilies.voidsetMaxResults(Integer maxResults)The maximum number of task definition family results returned byListTaskDefinitionFamiliesin paginated output.voidsetNextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListTaskDefinitionFamiliesrequest wheremaxResultswas used and the results exceeded the value of that parameter.voidsetStatus(TaskDefinitionFamilyStatus status)The task definition family status with which to filter theListTaskDefinitionFamiliesresults.voidsetStatus(String status)The task definition family status with which to filter theListTaskDefinitionFamiliesresults.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTaskDefinitionFamiliesRequestwithFamilyPrefix(String familyPrefix)ThefamilyPrefixis a string that is used to filter the results ofListTaskDefinitionFamilies.ListTaskDefinitionFamiliesRequestwithMaxResults(Integer maxResults)The maximum number of task definition family results returned byListTaskDefinitionFamiliesin paginated output.ListTaskDefinitionFamiliesRequestwithNextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListTaskDefinitionFamiliesrequest wheremaxResultswas used and the results exceeded the value of that parameter.ListTaskDefinitionFamiliesRequestwithStatus(TaskDefinitionFamilyStatus status)The task definition family status with which to filter theListTaskDefinitionFamiliesresults.ListTaskDefinitionFamiliesRequestwithStatus(String status)The task definition family status with which to filter theListTaskDefinitionFamiliesresults.-
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
familyPrefixis a string that is used to filter the results ofListTaskDefinitionFamilies. If you specify afamilyPrefix, only task definition family names that begin with thefamilyPrefixstring are returned.- Parameters:
familyPrefix- ThefamilyPrefixis a string that is used to filter the results ofListTaskDefinitionFamilies. If you specify afamilyPrefix, only task definition family names that begin with thefamilyPrefixstring are returned.
-
getFamilyPrefix
public String getFamilyPrefix()
The
familyPrefixis a string that is used to filter the results ofListTaskDefinitionFamilies. If you specify afamilyPrefix, only task definition family names that begin with thefamilyPrefixstring are returned.- Returns:
- The
familyPrefixis a string that is used to filter the results ofListTaskDefinitionFamilies. If you specify afamilyPrefix, only task definition family names that begin with thefamilyPrefixstring are returned.
-
withFamilyPrefix
public ListTaskDefinitionFamiliesRequest withFamilyPrefix(String familyPrefix)
The
familyPrefixis a string that is used to filter the results ofListTaskDefinitionFamilies. If you specify afamilyPrefix, only task definition family names that begin with thefamilyPrefixstring are returned.- Parameters:
familyPrefix- ThefamilyPrefixis a string that is used to filter the results ofListTaskDefinitionFamilies. If you specify afamilyPrefix, only task definition family names that begin with thefamilyPrefixstring are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The task definition family status with which to filter the
ListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition family status with which to filter theListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- See Also:
TaskDefinitionFamilyStatus
-
getStatus
public String getStatus()
The task definition family status with which to filter the
ListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Returns:
- The task definition family status with which to filter the
ListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request. - See Also:
TaskDefinitionFamilyStatus
-
withStatus
public ListTaskDefinitionFamiliesRequest withStatus(String status)
The task definition family status with which to filter the
ListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition family status with which to filter theListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. 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:
TaskDefinitionFamilyStatus
-
setStatus
public void setStatus(TaskDefinitionFamilyStatus status)
The task definition family status with which to filter the
ListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition family status with which to filter theListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- See Also:
TaskDefinitionFamilyStatus
-
withStatus
public ListTaskDefinitionFamiliesRequest withStatus(TaskDefinitionFamilyStatus status)
The task definition family status with which to filter the
ListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. If you paginate the resulting output, be sure to keep thestatusvalue constant in each subsequent request.- Parameters:
status- The task definition family status with which to filter theListTaskDefinitionFamiliesresults. By default, bothACTIVEandINACTIVEtask definition families are listed. If this parameter is set toACTIVE, only task definition families that have anACTIVEtask definition revision are returned. If this parameter is set toINACTIVE, only task definition families that do not have anyACTIVEtask definition revisions are returned. 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:
TaskDefinitionFamilyStatus
-
setNextToken
public void setNextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedListTaskDefinitionFamiliesrequest 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 paginatedListTaskDefinitionFamiliesrequest 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 paginatedListTaskDefinitionFamiliesrequest 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 paginatedListTaskDefinitionFamiliesrequest 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 ListTaskDefinitionFamiliesRequest withNextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedListTaskDefinitionFamiliesrequest 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 paginatedListTaskDefinitionFamiliesrequest 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 family results returned by
ListTaskDefinitionFamiliesin 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 anotherListTaskDefinitionFamiliesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionFamiliesreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of task definition family results returned byListTaskDefinitionFamiliesin 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 anotherListTaskDefinitionFamiliesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionFamiliesreturns up to 100 results and anextTokenvalue if applicable.
-
getMaxResults
public Integer getMaxResults()
The maximum number of task definition family results returned by
ListTaskDefinitionFamiliesin 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 anotherListTaskDefinitionFamiliesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionFamiliesreturns up to 100 results and anextTokenvalue if applicable.- Returns:
- The maximum number of task definition family results returned by
ListTaskDefinitionFamiliesin 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 anotherListTaskDefinitionFamiliesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionFamiliesreturns up to 100 results and anextTokenvalue if applicable.
-
withMaxResults
public ListTaskDefinitionFamiliesRequest withMaxResults(Integer maxResults)
The maximum number of task definition family results returned by
ListTaskDefinitionFamiliesin 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 anotherListTaskDefinitionFamiliesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionFamiliesreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of task definition family results returned byListTaskDefinitionFamiliesin 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 anotherListTaskDefinitionFamiliesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListTaskDefinitionFamiliesreturns 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 ListTaskDefinitionFamiliesRequest 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()
-
-