@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListClustersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
This input determines how the ListClusters action filters the list of clusters that it returns.
NOOP
Constructor and Description |
---|
ListClustersRequest() |
Modifier and Type | Method and Description |
---|---|
ListClustersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCreatedAfter(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 Date getCreatedAfter()
The creation date and time beginning value filter for listing clusters.
public ListClustersRequest withCreatedAfter(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(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 Date getCreatedBefore()
The creation date and time end value filter for listing clusters.
public ListClustersRequest withCreatedBefore(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 List<String> getClusterStates()
The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
ClusterState
public void setClusterStates(Collection<String> clusterStates)
The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
clusterStates
- The cluster state filters to apply when listing clusters. Clusters that change state while this action
runs may be not be returned as expected in the list of clusters.ClusterState
public ListClustersRequest withClusterStates(String... clusterStates)
The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of 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. Clusters that change state while this action
runs may be not be returned as expected in the list of clusters.ClusterState
public ListClustersRequest withClusterStates(Collection<String> clusterStates)
The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
clusterStates
- The cluster state filters to apply when listing clusters. Clusters that change state while this action
runs may be not be returned as expected in the list of clusters.ClusterState
public ListClustersRequest withClusterStates(ClusterState... clusterStates)
The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
clusterStates
- The cluster state filters to apply when listing clusters. Clusters that change state while this action
runs may be not be returned as expected in the list of clusters.ClusterState
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 ListClustersRequest 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 ListClustersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()