public class DescribeEcsClustersResult extends Object 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. |
public List<EcsCluster> getEcsClusters()
EcsCluster objects containing the cluster
descriptions.EcsCluster objects containing the cluster
descriptions.public void setEcsClusters(Collection<EcsCluster> ecsClusters)
EcsCluster objects containing the cluster
descriptions.ecsClusters - A list of EcsCluster objects containing the cluster
descriptions.public DescribeEcsClustersResult withEcsClusters(EcsCluster... ecsClusters)
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.
Returns a reference to this object so that method calls can be chained together.
ecsClusters - A list of EcsCluster objects containing the cluster
descriptions.public DescribeEcsClustersResult withEcsClusters(Collection<EcsCluster> ecsClusters)
EcsCluster objects containing the cluster
descriptions.
Returns a reference to this object so that method calls can be chained together.
ecsClusters - A list of EcsCluster objects containing the cluster
descriptions.public String getNextToken()
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 void setNextToken(String nextToken)
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 DescribeEcsClustersResult withNextToken(String nextToken)
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.
Returns a reference to this object so that method calls can be chained together.
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 ObjectObject.toString()public DescribeEcsClustersResult clone()
Copyright © 2015. All rights reserved.