@Generated(value="software.amazon.awssdk:codegen") public final class Query extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Query.Builder,Query>
Defines the query to run against an object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Query.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Query.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSelectors()
Returns true if the Selectors property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
List<Selector> |
selectors()
List of selectors that define the query.
|
static Class<? extends Query.Builder> |
serializableBuilderClass() |
Query.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasSelectors()
public final List<Selector> selectors()
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSelectors() to see if a value was sent in this field.
public Query.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Query.Builder,Query>public static Query.Builder builder()
public static Class<? extends Query.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.