public class ListClustersResult extends Object implements Serializable, Cloneable
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 | 
|---|---|
| ListClustersResult | clone() | 
| 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)
 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 - 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 ObjectObject.toString()public ListClustersResult clone()
Copyright © 2015. All rights reserved.