@Generated(value="software.amazon.awssdk:codegen") public final class ListClustersRequest extends EmrRequest implements ToCopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>
This input determines how the ListClusters action filters the list of clusters that it returns.
Modifier and Type | Class and Description |
---|---|
static interface |
ListClustersRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListClustersRequest.Builder |
builder() |
List<ClusterState> |
clusterStates()
The cluster state filters to apply when listing clusters.
|
List<String> |
clusterStatesAsStrings()
The cluster state filters to apply when listing clusters.
|
Instant |
createdAfter()
The creation date and time beginning value filter for listing clusters.
|
Instant |
createdBefore()
The creation date and time end value filter for listing clusters.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
marker()
The pagination token that indicates the next set of results to retrieve.
|
static Class<? extends ListClustersRequest.Builder> |
serializableBuilderClass() |
ListClustersRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public Instant createdAfter()
The creation date and time beginning value filter for listing clusters.
public Instant createdBefore()
The creation date and time end value filter for listing clusters.
public List<ClusterState> clusterStates()
The cluster state filters to apply when listing clusters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> clusterStatesAsStrings()
The cluster state filters to apply when listing clusters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String marker()
The pagination token that indicates the next set of results to retrieve.
public ListClustersRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>
toBuilder
in class EmrRequest
public static ListClustersRequest.Builder builder()
public static Class<? extends ListClustersRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.