public class DescribeClustersResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output from the DescribeClusters action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Cluster> |
clusters
A list of
Cluster objects, where each object describes one
cluster. |
private java.lang.String |
marker
A value that indicates the starting point for the next set of response
records in a subsequent request.
|
Constructor and Description |
---|
DescribeClustersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeClustersResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Cluster> |
getClusters()
A list of
Cluster objects, where each object describes one
cluster. |
java.lang.String |
getMarker()
A value that indicates the starting point for the next set of response
records in a subsequent request.
|
int |
hashCode() |
void |
setClusters(java.util.Collection<Cluster> clusters)
A list of
Cluster objects, where each object describes one
cluster. |
void |
setMarker(java.lang.String marker)
A value that indicates the starting point for the next set of response
records in a subsequent request.
|
java.lang.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(java.util.Collection<Cluster> clusters)
A list of
Cluster objects, where each object describes one
cluster. |
DescribeClustersResult |
withMarker(java.lang.String marker)
A value that indicates the starting point for the next set of response
records in a subsequent request.
|
private java.lang.String 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.
private SdkInternalList<Cluster> clusters
A list of Cluster
objects, where each object describes one
cluster.
public void setMarker(java.lang.String 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.
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 java.lang.String getMarker()
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.
Marker
parameter and retrying the command. If the Marker
field is empty, all response records have been retrieved for the
request.public DescribeClustersResult withMarker(java.lang.String 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.
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 java.util.List<Cluster> getClusters()
A list of Cluster
objects, where each object describes one
cluster.
Cluster
objects, where each object
describes one cluster.public void setClusters(java.util.Collection<Cluster> clusters)
A list of 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)
A list of 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.
clusters
- A list of Cluster
objects, where each object
describes one cluster.public DescribeClustersResult withClusters(java.util.Collection<Cluster> clusters)
A list of Cluster
objects, where each object describes one
cluster.
clusters
- A list of Cluster
objects, where each object
describes one cluster.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeClustersResult clone()
clone
in class java.lang.Object