Class ListContainerInstancesRequest
- 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 short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list.The maximum number of container instance results returned byListContainerInstancesin paginated output.ThenextTokenvalue returned from a previous paginatedListContainerInstancesrequest wheremaxResultswas used and the results exceeded the value of that parameter.inthashCode()voidsetCluster(String cluster) The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list.voidsetMaxResults(Integer maxResults) The maximum number of container instance results returned byListContainerInstancesin paginated output.voidsetNextToken(String nextToken) ThenextTokenvalue returned from a previous paginatedListContainerInstancesrequest wheremaxResultswas used and the results exceeded the value of that parameter.toString()Returns a string representation of this object; useful for testing and debugging.withCluster(String cluster) The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list.withMaxResults(Integer maxResults) The maximum number of container instance results returned byListContainerInstancesin paginated output.withNextToken(String nextToken) ThenextTokenvalue returned from a previous paginatedListContainerInstancesrequest wheremaxResultswas used and the results exceeded the value of that parameter.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
-
ListContainerInstancesRequest
public ListContainerInstancesRequest()
-
-
Method Details
-
setCluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed..
- Parameters:
cluster- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed..
-
getCluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed..
- Returns:
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed..
-
withCluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed..
- Parameters:
cluster- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to list. If you do not specify a cluster, the default cluster is assumed..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The
nextTokenvalue returned from a previous paginatedListContainerInstancesrequest 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 paginatedListContainerInstancesrequest 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 paginatedListContainerInstancesrequest 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 paginatedListContainerInstancesrequest 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 paginatedListContainerInstancesrequest 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 paginatedListContainerInstancesrequest 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 container instance results returned by
ListContainerInstancesin paginated output. When this parameter is used,ListContainerInstancesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListContainerInstancesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListContainerInstancesreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of container instance results returned byListContainerInstancesin paginated output. When this parameter is used,ListContainerInstancesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListContainerInstancesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListContainerInstancesreturns up to 100 results and anextTokenvalue if applicable.
-
getMaxResults
The maximum number of container instance results returned by
ListContainerInstancesin paginated output. When this parameter is used,ListContainerInstancesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListContainerInstancesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListContainerInstancesreturns up to 100 results and anextTokenvalue if applicable.- Returns:
- The maximum number of container instance results returned by
ListContainerInstancesin paginated output. When this parameter is used,ListContainerInstancesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListContainerInstancesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListContainerInstancesreturns up to 100 results and anextTokenvalue if applicable.
-
withMaxResults
The maximum number of container instance results returned by
ListContainerInstancesin paginated output. When this parameter is used,ListContainerInstancesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListContainerInstancesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListContainerInstancesreturns up to 100 results and anextTokenvalue if applicable.- Parameters:
maxResults- The maximum number of container instance results returned byListContainerInstancesin paginated output. When this parameter is used,ListContainerInstancesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListContainerInstancesrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListContainerInstancesreturns 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:
-