public class DescribeEcsClustersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeEcsClustersRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEcsClustersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getEcsClusterArns()
A list of ARNs, one for each cluster to be described.
|
Integer |
getMaxResults()
To receive a paginated response, use this parameter to specify the
maximum number of results to be returned with a single call.
|
String |
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. |
String |
getStackId()
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's
NextToken parameter value is
set to a token. |
void |
setStackId(String stackId)
A stack ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEcsClustersRequest |
withEcsClusterArns(Collection<String> ecsClusterArns)
A list of ARNs, one for each cluster to be described.
|
DescribeEcsClustersRequest |
withEcsClusterArns(String... ecsClusterArns)
A list of ARNs, one for each cluster to be described.
|
DescribeEcsClustersRequest |
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.
|
DescribeEcsClustersRequest |
withNextToken(String nextToken)
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. |
DescribeEcsClustersRequest |
withStackId(String stackId)
A stack ID.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getEcsClusterArns()
A list of ARNs, one for each cluster to be described.
public void setEcsClusterArns(Collection<String> ecsClusterArns)
A list of ARNs, one for each cluster to be described.
ecsClusterArns
- A list of ARNs, one for each cluster to be described.public DescribeEcsClustersRequest withEcsClusterArns(String... ecsClusterArns)
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)
or
withEcsClusterArns(java.util.Collection)
if you want to override
the existing values.
ecsClusterArns
- A list of ARNs, one for each cluster to be described.public DescribeEcsClustersRequest withEcsClusterArns(Collection<String> ecsClusterArns)
A list of ARNs, one for each cluster to be described.
ecsClusterArns
- A list of ARNs, one for each cluster to be described.public void setStackId(String stackId)
A stack ID. DescribeEcsClusters
returns a description of the
cluster that is registered with the stack.
stackId
- A stack ID. DescribeEcsClusters
returns a description
of the cluster that is registered with the stack.public String getStackId()
A stack ID. DescribeEcsClusters
returns a description of the
cluster that is registered with the stack.
DescribeEcsClusters
returns a
description of the cluster that is registered with the stack.public DescribeEcsClustersRequest withStackId(String stackId)
A stack ID. DescribeEcsClusters
returns a description of the
cluster that is registered with the stack.
stackId
- A stack ID. DescribeEcsClusters
returns a description
of the cluster that is registered with the stack.public 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. To retrieve the next set of results, call
DescribeEcsClusters
again and assign that token to the
request object's NextToken
parameter. If there are no
remaining results, the previous response object's NextToken
parameter is set to null
.
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, call DescribeEcsClusters
again and assign
that token to the request object's NextToken
parameter. If there are no remaining results, the previous
response object's NextToken
parameter is set to
null
.public String getNextToken()
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, call
DescribeEcsClusters
again and assign that token to the
request object's NextToken
parameter. If there are no
remaining results, the previous response object's NextToken
parameter is set to null
.
NextToken
parameter value is set to a token. To retrieve the next set of
results, call DescribeEcsClusters
again and assign
that token to the request object's NextToken
parameter. If there are no remaining results, the previous
response object's NextToken
parameter is set to
null
.public DescribeEcsClustersRequest 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. To retrieve the next set of results, call
DescribeEcsClusters
again and assign that token to the
request object's NextToken
parameter. If there are no
remaining results, the previous response object's NextToken
parameter is set to null
.
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, call DescribeEcsClusters
again and assign
that token to the request object's NextToken
parameter. If there are no remaining results, the previous
response object's NextToken
parameter is set to
null
.public 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. If the
number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to the
NextToken
request parameter to get the next set of results.
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 a NextToken
value that you can assign to the
NextToken
request parameter to get the next set of
results.public Integer 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 the
NextToken
request parameter to get the next set of results.
NextToken
value that you can
assign to the NextToken
request parameter to get the
next set of results.public DescribeEcsClustersRequest 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. If the
number of available results exceeds this maximum, the response includes a
NextToken
value that you can assign to the
NextToken
request parameter to get the next set of results.
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 a NextToken
value that you can assign to the
NextToken
request parameter to get the next set of
results.public String toString()
toString
in class Object
Object.toString()
public DescribeEcsClustersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.