public class ListClustersResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ClusterSummary> |
clusters
The list of clusters for the account based on the given filters.
|
private java.lang.String |
marker
The pagination token that indicates the next set of results to retrieve.
|
Constructor and Description |
---|
ListClustersResult() |
Modifier and Type | Method and Description |
---|---|
ListClustersResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ClusterSummary> |
getClusters()
The list of clusters for the account based on the given filters.
|
java.lang.String |
getMarker()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setClusters(java.util.Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.
|
void |
setMarker(java.lang.String marker)
The pagination token that indicates the next set of results to retrieve.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListClustersResult |
withClusters(ClusterSummary... clusters)
The list of clusters for the account based on the given filters.
|
ListClustersResult |
withClusters(java.util.Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.
|
ListClustersResult |
withMarker(java.lang.String marker)
The pagination token that indicates the next set of results to retrieve.
|
private SdkInternalList<ClusterSummary> clusters
The list of clusters for the account based on the given filters.
private java.lang.String marker
The pagination token that indicates the next set of results to retrieve.
public java.util.List<ClusterSummary> getClusters()
The list of clusters for the account based on the given filters.
public void setClusters(java.util.Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.
clusters
- The list of clusters for the account based on the given filters.public ListClustersResult withClusters(ClusterSummary... clusters)
The list of clusters for the account based on the given filters.
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
- The list of clusters for the account based on the given filters.public ListClustersResult withClusters(java.util.Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.
clusters
- The list of clusters for the account based on the given filters.public void setMarker(java.lang.String marker)
The pagination token that indicates the next set of results to retrieve.
marker
- The pagination token that indicates the next set of results to
retrieve.public java.lang.String getMarker()
The pagination token that indicates the next set of results to retrieve.
public ListClustersResult withMarker(java.lang.String marker)
The pagination token that indicates the next set of results to retrieve.
marker
- The pagination token that indicates the next set of results to
retrieve.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 ListClustersResult clone()
clone
in class java.lang.Object