@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListClustersResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ClusterSummary> getClusters()
The list of clusters for the account based on the given filters.
public void setClusters(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(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(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 String getMarker()
The pagination token that indicates the next set of results to retrieve.
public ListClustersResult withMarker(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 String toString()
toString
in class Object
Object.toString()
public ListClustersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.