public class DescribeClustersResult extends Object implements Serializable
Contains the output from the DescribeClusters action.
Constructor and Description |
---|
DescribeClustersResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Cluster> |
getClusters()
A list of Cluster objects, where each object describes one
cluster.
|
String |
getMarker()
A marker at which to continue listing clusters in a new request.
|
int |
hashCode() |
void |
setClusters(Collection<Cluster> clusters)
A list of Cluster objects, where each object describes one
cluster.
|
void |
setMarker(String marker)
A marker at which to continue listing clusters in a new request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeClustersResult |
withClusters(Cluster... clusters)
A list of Cluster objects, where each object describes one
cluster.
|
DescribeClustersResult |
withClusters(Collection<Cluster> clusters)
A list of Cluster objects, where each object describes one
cluster.
|
DescribeClustersResult |
withMarker(String marker)
A marker at which to continue listing clusters in a new request.
|
public String getMarker()
public void setMarker(String marker)
marker
- A marker at which to continue listing clusters in a new request. A
marker is returned if there are more clusters to list than were
returned in the response.public DescribeClustersResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- A marker at which to continue listing clusters in a new request. A
marker is returned if there are more clusters to list than were
returned in the response.public List<Cluster> getClusters()
public void setClusters(Collection<Cluster> clusters)
clusters
- A list of Cluster objects, where each object describes one
cluster.public DescribeClustersResult withClusters(Cluster... clusters)
Returns a reference to this object so that method calls can be chained together.
clusters
- A list of Cluster objects, where each object describes one
cluster.public DescribeClustersResult withClusters(Collection<Cluster> clusters)
Returns a reference to this object so that method calls can be chained together.
clusters
- A list of Cluster objects, where each object describes one
cluster.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.