public class ListClustersRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
This input determines how the ListClusters action filters the list of clusters that it returns.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
clusterStates
The cluster state filters to apply when listing clusters.
|
private java.util.Date |
createdAfter
The creation date and time beginning value filter for listing clusters .
|
private java.util.Date |
createdBefore
The creation date and time end value filter for listing clusters .
|
private java.lang.String |
marker
The pagination token that indicates the next set of results to retrieve.
|
NOOP
Constructor and Description |
---|
ListClustersRequest() |
Modifier and Type | Method and Description |
---|---|
ListClustersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getClusterStates()
The cluster state filters to apply when listing clusters.
|
java.util.Date |
getCreatedAfter()
The creation date and time beginning value filter for listing clusters .
|
java.util.Date |
getCreatedBefore()
The creation date and time end value filter for listing clusters .
|
java.lang.String |
getMarker()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setClusterStates(java.util.Collection<java.lang.String> clusterStates)
The cluster state filters to apply when listing clusters.
|
void |
setCreatedAfter(java.util.Date createdAfter)
The creation date and time beginning value filter for listing clusters .
|
void |
setCreatedBefore(java.util.Date createdBefore)
The creation date and time end value filter for listing clusters .
|
void |
setMarker(java.lang.String marker)
The pagination token that indicates the next set of results to retrieve.
|
java.lang.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(java.util.Collection<java.lang.String> clusterStates)
The cluster state filters to apply when listing clusters.
|
ListClustersRequest |
withClusterStates(java.lang.String... clusterStates)
The cluster state filters to apply when listing clusters.
|
ListClustersRequest |
withCreatedAfter(java.util.Date createdAfter)
The creation date and time beginning value filter for listing clusters .
|
ListClustersRequest |
withCreatedBefore(java.util.Date createdBefore)
The creation date and time end value filter for listing clusters .
|
ListClustersRequest |
withMarker(java.lang.String marker)
The pagination token that indicates the next set of results to retrieve.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.util.Date createdAfter
The creation date and time beginning value filter for listing clusters .
private java.util.Date createdBefore
The creation date and time end value filter for listing clusters .
private SdkInternalList<java.lang.String> clusterStates
The cluster state filters to apply when listing clusters.
private java.lang.String marker
The pagination token that indicates the next set of results to retrieve.
public void setCreatedAfter(java.util.Date createdAfter)
The creation date and time beginning value filter for listing clusters .
createdAfter
- The creation date and time beginning value filter for listing
clusters .public java.util.Date getCreatedAfter()
The creation date and time beginning value filter for listing clusters .
public ListClustersRequest withCreatedAfter(java.util.Date createdAfter)
The creation date and time beginning value filter for listing clusters .
createdAfter
- The creation date and time beginning value filter for listing
clusters .public void setCreatedBefore(java.util.Date createdBefore)
The creation date and time end value filter for listing clusters .
createdBefore
- The creation date and time end value filter for listing clusters .public java.util.Date getCreatedBefore()
The creation date and time end value filter for listing clusters .
public ListClustersRequest withCreatedBefore(java.util.Date createdBefore)
The creation date and time end value filter for listing clusters .
createdBefore
- The creation date and time end value filter for listing clusters .public java.util.List<java.lang.String> getClusterStates()
The cluster state filters to apply when listing clusters.
ClusterState
public void setClusterStates(java.util.Collection<java.lang.String> clusterStates)
The cluster state filters to apply when listing clusters.
clusterStates
- The cluster state filters to apply when listing clusters.ClusterState
public ListClustersRequest withClusterStates(java.lang.String... clusterStates)
The cluster state filters to apply when listing clusters.
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.
clusterStates
- The cluster state filters to apply when listing clusters.ClusterState
public ListClustersRequest withClusterStates(java.util.Collection<java.lang.String> clusterStates)
The cluster state filters to apply when listing clusters.
clusterStates
- The cluster state filters to apply when listing clusters.ClusterState
public ListClustersRequest withClusterStates(ClusterState... clusterStates)
The cluster state filters to apply when listing clusters.
clusterStates
- The cluster state filters to apply when listing clusters.ClusterState
public void setMarker(java.lang.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 java.lang.String getMarker()
The pagination token that indicates the next set of results to retrieve.
public ListClustersRequest withMarker(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListClustersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()