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 is a random string indicating whether there are
more results to fetch.
|
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 is a random string indicating whether there are
more results to fetch.
|
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 is a random string indicating whether there are
more results to fetch.
|
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 is a random string indicating whether there are
more results to fetch. Use the pagination token in later API calls to
retrieve the next page of results. When the value is null, all results
have been returned.public ListClustersResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- The pagination token is a random string indicating whether there are
more results to fetch. Use the pagination token in later API calls to
retrieve the next page of results. When the value is null, all results
have been returned.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.