@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeClustersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeClustersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeClustersResult |
clone() |
boolean |
equals(Object obj) |
List<Cluster> |
getClusters()
A list of clusters.
|
String |
getNextToken()
An opaque string that indicates that the response contains only a subset of clusters.
|
int |
hashCode() |
void |
setClusters(Collection<Cluster> clusters)
A list of clusters.
|
void |
setNextToken(String nextToken)
An opaque string that indicates that the response contains only a subset of clusters.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeClustersResult |
withClusters(Cluster... clusters)
A list of clusters.
|
DescribeClustersResult |
withClusters(Collection<Cluster> clusters)
A list of clusters.
|
DescribeClustersResult |
withNextToken(String nextToken)
An opaque string that indicates that the response contains only a subset of clusters.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setClusters(Collection<Cluster> clusters)
A list of clusters.
clusters
- A list of clusters.public DescribeClustersResult withClusters(Cluster... clusters)
A list of clusters.
NOTE: This method appends the values to the existing list (if any). Use
setClusters(java.util.Collection)
or withClusters(java.util.Collection)
if you want to override
the existing values.
clusters
- A list of clusters.public DescribeClustersResult withClusters(Collection<Cluster> clusters)
A list of clusters.
clusters
- A list of clusters.public void setNextToken(String nextToken)
An opaque string that indicates that the response contains only a subset of clusters. Use this value in a
subsequent DescribeClusters
request to get more clusters.
nextToken
- An opaque string that indicates that the response contains only a subset of clusters. Use this value in a
subsequent DescribeClusters
request to get more clusters.public String getNextToken()
An opaque string that indicates that the response contains only a subset of clusters. Use this value in a
subsequent DescribeClusters
request to get more clusters.
DescribeClusters
request to get more clusters.public DescribeClustersResult withNextToken(String nextToken)
An opaque string that indicates that the response contains only a subset of clusters. Use this value in a
subsequent DescribeClusters
request to get more clusters.
nextToken
- An opaque string that indicates that the response contains only a subset of clusters. Use this value in a
subsequent DescribeClusters
request to get more clusters.public String toString()
toString
in class Object
Object.toString()
public DescribeClustersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.