public class ListClustersResult extends Object implements Serializable
This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.
Constructor and Description |
---|
ListClustersResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<ClusterSummary> |
getClusters()
The list of clusters for the account based on the given filters.
|
String |
getMarker()
The pagination token that indicates the next set of results to
retrieve.
|
int |
hashCode() |
void |
setClusters(Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.
|
void |
setMarker(String marker)
The pagination token that indicates the next set of results to
retrieve.
|
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(Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.
|
ListClustersResult |
withMarker(String marker)
The pagination token that indicates the next set of results to
retrieve.
|
public List<ClusterSummary> getClusters()
public void setClusters(Collection<ClusterSummary> clusters)
clusters
- The list of clusters for the account based on the given filters.public ListClustersResult withClusters(ClusterSummary... clusters)
Returns a reference to this object so that method calls can be chained together.
clusters
- The list of clusters for the account based on the given filters.public ListClustersResult withClusters(Collection<ClusterSummary> clusters)
Returns a reference to this object so that method calls can be chained together.
clusters
- The list of clusters for the account based on the given filters.public String getMarker()
public void setMarker(String marker)
marker
- The pagination token that indicates the next set of results to
retrieve.public ListClustersResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- The pagination token that indicates the next set of results to
retrieve.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.