Class DescribeEcsClustersRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A list of ARNs, one for each cluster to be described.To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call.If the previous paginated request did not return all of the remaining results, the response object'sNextToken
parameter value is set to a token.A stack ID.int
hashCode()
void
setEcsClusterArns
(Collection<String> ecsClusterArns) A list of ARNs, one for each cluster to be described.void
setMaxResults
(Integer maxResults) To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call.void
setNextToken
(String nextToken) If the previous paginated request did not return all of the remaining results, the response object'sNextToken
parameter value is set to a token.void
setStackId
(String stackId) A stack ID.toString()
Returns a string representation of this object; useful for testing and debugging.withEcsClusterArns
(String... ecsClusterArns) A list of ARNs, one for each cluster to be described.withEcsClusterArns
(Collection<String> ecsClusterArns) A list of ARNs, one for each cluster to be described.withMaxResults
(Integer maxResults) To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call.withNextToken
(String nextToken) If the previous paginated request did not return all of the remaining results, the response object'sNextToken
parameter value is set to a token.withStackId
(String stackId) A stack ID.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
-
Constructor Details
-
DescribeEcsClustersRequest
public DescribeEcsClustersRequest()
-
-
Method Details
-
getEcsClusterArns
A list of ARNs, one for each cluster to be described.
- Returns:
- A list of ARNs, one for each cluster to be described.
-
setEcsClusterArns
A list of ARNs, one for each cluster to be described.
- Parameters:
ecsClusterArns
- A list of ARNs, one for each cluster to be described.
-
withEcsClusterArns
A list of ARNs, one for each cluster to be described.
NOTE: This method appends the values to the existing list (if any). Use
setEcsClusterArns(java.util.Collection)
orwithEcsClusterArns(java.util.Collection)
if you want to override the existing values.- Parameters:
ecsClusterArns
- A list of ARNs, one for each cluster to be described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEcsClusterArns
A list of ARNs, one for each cluster to be described.
- Parameters:
ecsClusterArns
- A list of ARNs, one for each cluster to be described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackId
A stack ID.
DescribeEcsClusters
returns a description of the cluster that is registered with the stack.- Parameters:
stackId
- A stack ID.DescribeEcsClusters
returns a description of the cluster that is registered with the stack.
-
getStackId
A stack ID.
DescribeEcsClusters
returns a description of the cluster that is registered with the stack.- Returns:
- A stack ID.
DescribeEcsClusters
returns a description of the cluster that is registered with the stack.
-
withStackId
A stack ID.
DescribeEcsClusters
returns a description of the cluster that is registered with the stack.- Parameters:
stackId
- A stack ID.DescribeEcsClusters
returns a description of the cluster that is registered with the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
If the previous paginated request did not return all of the remaining results, the response object's
NextToken
parameter value is set to a token. To retrieve the next set of results, callDescribeEcsClusters
again and assign that token to the request object'sNextToken
parameter. If there are no remaining results, the previous response object'sNextToken
parameter is set tonull
.- Parameters:
nextToken
- If the previous paginated request did not return all of the remaining results, the response object'sNextToken
parameter value is set to a token. To retrieve the next set of results, callDescribeEcsClusters
again and assign that token to the request object'sNextToken
parameter. If there are no remaining results, the previous response object'sNextToken
parameter is set tonull
.
-
getNextToken
If the previous paginated request did not return all of the remaining results, the response object's
NextToken
parameter value is set to a token. To retrieve the next set of results, callDescribeEcsClusters
again and assign that token to the request object'sNextToken
parameter. If there are no remaining results, the previous response object'sNextToken
parameter is set tonull
.- Returns:
- If the previous paginated request did not return all of the
remaining results, the response object's
NextToken
parameter value is set to a token. To retrieve the next set of results, callDescribeEcsClusters
again and assign that token to the request object'sNextToken
parameter. If there are no remaining results, the previous response object'sNextToken
parameter is set tonull
.
-
withNextToken
If the previous paginated request did not return all of the remaining results, the response object's
NextToken
parameter value is set to a token. To retrieve the next set of results, callDescribeEcsClusters
again and assign that token to the request object'sNextToken
parameter. If there are no remaining results, the previous response object'sNextToken
parameter is set tonull
.- Parameters:
nextToken
- If the previous paginated request did not return all of the remaining results, the response object'sNextToken
parameter value is set to a token. To retrieve the next set of results, callDescribeEcsClusters
again and assign that token to the request object'sNextToken
parameter. If there are no remaining results, the previous response object'sNextToken
parameter is set tonull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to theNextToken
request parameter to get the next set of results.- Parameters:
maxResults
- To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes aNextToken
value that you can assign to theNextToken
request parameter to get the next set of results.
-
getMaxResults
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to theNextToken
request parameter to get the next set of results.- Returns:
- To receive a paginated response, use this parameter to specify
the maximum number of results to be returned with a single call.
If the number of available results exceeds this maximum, the
response includes a
NextToken
value that you can assign to theNextToken
request parameter to get the next set of results.
-
withMaxResults
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to theNextToken
request parameter to get the next set of results.- Parameters:
maxResults
- To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes aNextToken
value that you can assign to theNextToken
request parameter to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-