Class ListClustersRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
This input determines how the ListClusters action filters the list of clusters that it returns.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The cluster state filters to apply when listing clusters.The creation date and time beginning value filter for listing clusters .The creation date and time end value filter for listing clusters .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
The pagination token that indicates the next set of results to retrieve.toString()
Returns a string representation of this object; useful for testing and debugging.withClusterStates
(ClusterState... clusterStates) The cluster state filters to apply when listing clusters.withClusterStates
(String... clusterStates) The cluster state filters to apply when listing clusters.withClusterStates
(Collection<String> clusterStates) The cluster state filters to apply when listing clusters.withCreatedAfter
(Date createdAfter) The creation date and time beginning value filter for listing clusters .withCreatedBefore
(Date createdBefore) The creation date and time end value filter for listing clusters .withMarker
(String marker) The pagination token that indicates the next set of results to retrieve.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
ListClustersRequest
public ListClustersRequest()
-
-
Method Details
-
setCreatedAfter
The creation date and time beginning value filter for listing clusters .
- Parameters:
createdAfter
- The creation date and time beginning value filter for listing clusters .
-
getCreatedAfter
The creation date and time beginning value filter for listing clusters .
- Returns:
- The creation date and time beginning value filter for listing clusters .
-
withCreatedAfter
The creation date and time beginning value filter for listing clusters .
- Parameters:
createdAfter
- The creation date and time beginning value filter for listing clusters .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedBefore
The creation date and time end value filter for listing clusters .
- Parameters:
createdBefore
- The creation date and time end value filter for listing clusters .
-
getCreatedBefore
The creation date and time end value filter for listing clusters .
- Returns:
- The creation date and time end value filter for listing clusters .
-
withCreatedBefore
The creation date and time end value filter for listing clusters .
- Parameters:
createdBefore
- The creation date and time end value filter for listing clusters .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getClusterStates
The cluster state filters to apply when listing clusters.
- Returns:
- The cluster state filters to apply when listing clusters.
- See Also:
-
setClusterStates
The cluster state filters to apply when listing clusters.
- Parameters:
clusterStates
- The cluster state filters to apply when listing clusters.- See Also:
-
withClusterStates
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)
orwithClusterStates(java.util.Collection)
if you want to override the existing values.- Parameters:
clusterStates
- The cluster state filters to apply when listing clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withClusterStates
The cluster state filters to apply when listing clusters.
- Parameters:
clusterStates
- The cluster state filters to apply when listing clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withClusterStates
The cluster state filters to apply when listing clusters.
- Parameters:
clusterStates
- The cluster state filters to apply when listing clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setMarker
The pagination token that indicates the next set of results to retrieve.
- Parameters:
marker
- The pagination token that indicates the next set of results to retrieve.
-
getMarker
The pagination token that indicates the next set of results to retrieve.
- Returns:
- The pagination token that indicates the next set of results to retrieve.
-
withMarker
The pagination token that indicates the next set of results to retrieve.
- Parameters:
marker
- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-