public class ListClustersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListClusters operation.
Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.
NOOP| Constructor and Description |
|---|
ListClustersRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListClustersRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getClusterStates()
The cluster state filters to apply when listing clusters.
|
Date |
getCreatedAfter()
The creation date and time beginning value filter for listing clusters
.
|
Date |
getCreatedBefore()
The creation date and time end value filter for listing clusters .
|
String |
getMarker()
The pagination token that indicates the next set of results to
retrieve.
|
int |
hashCode() |
void |
setClusterStates(Collection<String> clusterStates)
The cluster state filters to apply when listing clusters.
|
void |
setCreatedAfter(Date createdAfter)
The creation date and time beginning value filter for listing clusters
.
|
void |
setCreatedBefore(Date createdBefore)
The creation date and time end value filter for listing clusters .
|
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.
|
ListClustersRequest |
withClusterStates(ClusterState... clusterStates)
The cluster state filters to apply when listing clusters.
|
ListClustersRequest |
withClusterStates(Collection<String> clusterStates)
The cluster state filters to apply when listing clusters.
|
ListClustersRequest |
withClusterStates(String... clusterStates)
The cluster state filters to apply when listing clusters.
|
ListClustersRequest |
withCreatedAfter(Date createdAfter)
The creation date and time beginning value filter for listing clusters
.
|
ListClustersRequest |
withCreatedBefore(Date createdBefore)
The creation date and time end value filter for listing clusters .
|
ListClustersRequest |
withMarker(String marker)
The pagination token that indicates the next set of results to
retrieve.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic Date getCreatedAfter()
public void setCreatedAfter(Date createdAfter)
createdAfter - The creation date and time beginning value filter for listing clusters
.public ListClustersRequest withCreatedAfter(Date createdAfter)
Returns a reference to this object so that method calls can be chained together.
createdAfter - The creation date and time beginning value filter for listing clusters
.public Date getCreatedBefore()
public void setCreatedBefore(Date createdBefore)
createdBefore - The creation date and time end value filter for listing clusters .public ListClustersRequest withCreatedBefore(Date createdBefore)
Returns a reference to this object so that method calls can be chained together.
createdBefore - The creation date and time end value filter for listing clusters .public List<String> getClusterStates()
public void setClusterStates(Collection<String> clusterStates)
clusterStates - The cluster state filters to apply when listing clusters.public ListClustersRequest withClusterStates(String... clusterStates)
NOTE: This method appends the values to the existing list (if
any). Use setClusterStates(java.util.Collection) or withClusterStates(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.
clusterStates - The cluster state filters to apply when listing clusters.public ListClustersRequest withClusterStates(Collection<String> clusterStates)
Returns a reference to this object so that method calls can be chained together.
clusterStates - The cluster state filters to apply when listing clusters.public ListClustersRequest withClusterStates(ClusterState... clusterStates)
Returns a reference to this object so that method calls can be chained together.
clusterStates - The cluster state filters to apply when listing clusters.public String getMarker()
public void setMarker(String marker)
marker - The pagination token that indicates the next set of results to
retrieve.public ListClustersRequest 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 ListClustersRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.