public class DescribeClustersResult extends Object implements Serializable, Cloneable
Contains the output from the DescribeClusters action.
| Constructor and Description |
|---|
DescribeClustersResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeClustersResult |
clone() |
boolean |
equals(Object obj) |
List<Cluster> |
getClusters()
A list of
Cluster objects, where each object describes
one cluster. |
String |
getMarker()
A value that indicates the starting point for the next set of response
records in a subsequent request.
|
int |
hashCode() |
void |
setClusters(Collection<Cluster> clusters)
A list of
Cluster objects, where each object describes
one cluster. |
void |
setMarker(String marker)
A value that indicates the starting point for the next set of response
records in a subsequent 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 value that indicates the starting point for the next set of response
records in a subsequent request.
|
public String getMarker()
Marker parameter and retrying the
command. If the Marker field is empty, all response
records have been retrieved for the request.Marker parameter and retrying the
command. If the Marker field is empty, all response
records have been retrieved for the request.public void setMarker(String marker)
Marker parameter and retrying the
command. If the Marker field is empty, all response
records have been retrieved for the request.marker - A value that indicates the starting point for the next set of response
records in a subsequent request. If a value is returned in a response,
you can retrieve the next set of records by providing this returned
marker value in the Marker parameter and retrying the
command. If the Marker field is empty, all response
records have been retrieved for the request.public DescribeClustersResult withMarker(String marker)
Marker parameter and retrying the
command. If the Marker field is empty, all response
records have been retrieved for the request.
Returns a reference to this object so that method calls can be chained together.
marker - A value that indicates the starting point for the next set of response
records in a subsequent request. If a value is returned in a response,
you can retrieve the next set of records by providing this returned
marker value in the Marker parameter and retrying the
command. If the Marker field is empty, all response
records have been retrieved for the request.public List<Cluster> getClusters()
Cluster objects, where each object describes
one cluster.Cluster objects, where each object describes
one cluster.public void setClusters(Collection<Cluster> clusters)
Cluster objects, where each object describes
one cluster.clusters - A list of Cluster objects, where each object describes
one cluster.public DescribeClustersResult withClusters(Cluster... clusters)
Cluster objects, where each object describes
one cluster.
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.
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)
Cluster objects, where each object describes
one cluster.
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 ObjectObject.toString()public DescribeClustersResult clone()
Copyright © 2016. All rights reserved.