@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasClusterStates()
Returns true if the ClusterStates property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
String |
marker()
The pagination token that indicates the next set of results to retrieve.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListClustersRequest.Builder> |
serializableBuilderClass() |
ListClustersRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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.
You can use hasClusterStates()
to see if a value was sent in this field.
public boolean hasClusterStates()
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.
You can use hasClusterStates()
to see if a value was sent in this field.
public String marker()
The pagination token that indicates the next set of results to retrieve.
public ListClustersRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ListClustersRequest.Builder,ListClustersRequest>
toBuilder
in class EmrRequest
public static ListClustersRequest.Builder builder()
public static Class<? extends ListClustersRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.