@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEcsClustersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a DescribeEcsClusters
request.
Constructor and Description |
---|
DescribeEcsClustersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEcsClustersResult |
clone() |
boolean |
equals(Object obj) |
List<EcsCluster> |
getEcsClusters()
A list of
EcsCluster objects containing the cluster descriptions. |
String |
getNextToken()
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's
NextToken parameter to retrieve the next set of results. |
int |
hashCode() |
void |
setEcsClusters(Collection<EcsCluster> ecsClusters)
A list of
EcsCluster objects containing the cluster descriptions. |
void |
setNextToken(String nextToken)
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's
NextToken parameter to retrieve the next set of results. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeEcsClustersResult |
withEcsClusters(Collection<EcsCluster> ecsClusters)
A list of
EcsCluster objects containing the cluster descriptions. |
DescribeEcsClustersResult |
withEcsClusters(EcsCluster... ecsClusters)
A list of
EcsCluster objects containing the cluster descriptions. |
DescribeEcsClustersResult |
withNextToken(String nextToken)
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's
NextToken parameter to retrieve the next set of results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EcsCluster> getEcsClusters()
A list of EcsCluster
objects containing the cluster descriptions.
EcsCluster
objects containing the cluster descriptions.public void setEcsClusters(Collection<EcsCluster> ecsClusters)
A list of EcsCluster
objects containing the cluster descriptions.
ecsClusters
- A list of EcsCluster
objects containing the cluster descriptions.public DescribeEcsClustersResult withEcsClusters(EcsCluster... ecsClusters)
A list of EcsCluster
objects containing the cluster descriptions.
NOTE: This method appends the values to the existing list (if any). Use
setEcsClusters(java.util.Collection)
or withEcsClusters(java.util.Collection)
if you want to
override the existing values.
ecsClusters
- A list of EcsCluster
objects containing the cluster descriptions.public DescribeEcsClustersResult withEcsClusters(Collection<EcsCluster> ecsClusters)
A list of EcsCluster
objects containing the cluster descriptions.
ecsClusters
- A list of EcsCluster
objects containing the cluster descriptions.public void setNextToken(String nextToken)
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's NextToken
parameter to retrieve the next set of results. If the
previous paginated request returned all of the remaining results, this parameter is set to null
.
nextToken
- If a paginated request does not return all of the remaining results, this parameter is set to a token that
you can assign to the request object's NextToken
parameter to retrieve the next set of
results. If the previous paginated request returned all of the remaining results, this parameter is set to
null
.public String getNextToken()
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's NextToken
parameter to retrieve the next set of results. If the
previous paginated request returned all of the remaining results, this parameter is set to null
.
NextToken
parameter to retrieve the next set of
results. If the previous paginated request returned all of the remaining results, this parameter is set
to null
.public DescribeEcsClustersResult withNextToken(String nextToken)
If a paginated request does not return all of the remaining results, this parameter is set to a token that you
can assign to the request object's NextToken
parameter to retrieve the next set of results. If the
previous paginated request returned all of the remaining results, this parameter is set to null
.
nextToken
- If a paginated request does not return all of the remaining results, this parameter is set to a token that
you can assign to the request object's NextToken
parameter to retrieve the next set of
results. If the previous paginated request returned all of the remaining results, this parameter is set to
null
.public String toString()
toString
in class Object
Object.toString()
public DescribeEcsClustersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.