@Generated(value="software.amazon.awssdk:codegen") public final class FieldFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FieldFilter.Builder,FieldFilter>
A filter for fields. Only one value can be provided.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FieldFilter.Builder |
static class |
FieldFilter.Type |
| Modifier and Type | Method and Description |
|---|---|
static FieldFilter.Builder |
builder() |
FieldValue |
contains()
Object containing field identifier and value information.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FieldValue |
equalTo()
Object containing field identifier and value information.
|
static FieldFilter |
fromContains(Consumer<FieldValue.Builder> contains)
Create an instance of this class with
contains() initialized to the given value. |
static FieldFilter |
fromContains(FieldValue contains)
Create an instance of this class with
contains() initialized to the given value. |
static FieldFilter |
fromEqualTo(Consumer<FieldValue.Builder> equalTo)
Create an instance of this class with
equalTo() initialized to the given value. |
static FieldFilter |
fromEqualTo(FieldValue equalTo)
Create an instance of this class with
equalTo() initialized to the given value. |
static FieldFilter |
fromGreaterThan(Consumer<FieldValue.Builder> greaterThan)
Create an instance of this class with
greaterThan() initialized to the given value. |
static FieldFilter |
fromGreaterThan(FieldValue greaterThan)
Create an instance of this class with
greaterThan() initialized to the given value. |
static FieldFilter |
fromGreaterThanOrEqualTo(Consumer<FieldValue.Builder> greaterThanOrEqualTo)
Create an instance of this class with
greaterThanOrEqualTo() initialized to the given value. |
static FieldFilter |
fromGreaterThanOrEqualTo(FieldValue greaterThanOrEqualTo)
Create an instance of this class with
greaterThanOrEqualTo() initialized to the given value. |
static FieldFilter |
fromLessThan(Consumer<FieldValue.Builder> lessThan)
Create an instance of this class with
lessThan() initialized to the given value. |
static FieldFilter |
fromLessThan(FieldValue lessThan)
Create an instance of this class with
lessThan() initialized to the given value. |
static FieldFilter |
fromLessThanOrEqualTo(Consumer<FieldValue.Builder> lessThanOrEqualTo)
Create an instance of this class with
lessThanOrEqualTo() initialized to the given value. |
static FieldFilter |
fromLessThanOrEqualTo(FieldValue lessThanOrEqualTo)
Create an instance of this class with
lessThanOrEqualTo() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
FieldValue |
greaterThan()
Object containing field identifier and value information.
|
FieldValue |
greaterThanOrEqualTo()
Object containing field identifier and value information.
|
int |
hashCode() |
FieldValue |
lessThan()
Object containing field identifier and value information.
|
FieldValue |
lessThanOrEqualTo()
Object containing field identifier and value information.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FieldFilter.Builder> |
serializableBuilderClass() |
FieldFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
FieldFilter.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FieldValue contains()
Object containing field identifier and value information.
public final FieldValue equalTo()
Object containing field identifier and value information.
public final FieldValue greaterThan()
Object containing field identifier and value information.
public final FieldValue greaterThanOrEqualTo()
Object containing field identifier and value information.
public final FieldValue lessThan()
Object containing field identifier and value information.
public final FieldValue lessThanOrEqualTo()
Object containing field identifier and value information.
public FieldFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FieldFilter.Builder,FieldFilter>public static FieldFilter.Builder builder()
public static Class<? extends FieldFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static FieldFilter fromContains(FieldValue contains)
contains() initialized to the given value.
Object containing field identifier and value information.
contains - Object containing field identifier and value information.public static FieldFilter fromContains(Consumer<FieldValue.Builder> contains)
contains() initialized to the given value.
Object containing field identifier and value information.
contains - Object containing field identifier and value information.public static FieldFilter fromEqualTo(FieldValue equalTo)
equalTo() initialized to the given value.
Object containing field identifier and value information.
equalTo - Object containing field identifier and value information.public static FieldFilter fromEqualTo(Consumer<FieldValue.Builder> equalTo)
equalTo() initialized to the given value.
Object containing field identifier and value information.
equalTo - Object containing field identifier and value information.public static FieldFilter fromGreaterThan(FieldValue greaterThan)
greaterThan() initialized to the given value.
Object containing field identifier and value information.
greaterThan - Object containing field identifier and value information.public static FieldFilter fromGreaterThan(Consumer<FieldValue.Builder> greaterThan)
greaterThan() initialized to the given value.
Object containing field identifier and value information.
greaterThan - Object containing field identifier and value information.public static FieldFilter fromGreaterThanOrEqualTo(FieldValue greaterThanOrEqualTo)
greaterThanOrEqualTo() initialized to the given value.
Object containing field identifier and value information.
greaterThanOrEqualTo - Object containing field identifier and value information.public static FieldFilter fromGreaterThanOrEqualTo(Consumer<FieldValue.Builder> greaterThanOrEqualTo)
greaterThanOrEqualTo() initialized to the given value.
Object containing field identifier and value information.
greaterThanOrEqualTo - Object containing field identifier and value information.public static FieldFilter fromLessThan(FieldValue lessThan)
lessThan() initialized to the given value.
Object containing field identifier and value information.
lessThan - Object containing field identifier and value information.public static FieldFilter fromLessThan(Consumer<FieldValue.Builder> lessThan)
lessThan() initialized to the given value.
Object containing field identifier and value information.
lessThan - Object containing field identifier and value information.public static FieldFilter fromLessThanOrEqualTo(FieldValue lessThanOrEqualTo)
lessThanOrEqualTo() initialized to the given value.
Object containing field identifier and value information.
lessThanOrEqualTo - Object containing field identifier and value information.public static FieldFilter fromLessThanOrEqualTo(Consumer<FieldValue.Builder> lessThanOrEqualTo)
lessThanOrEqualTo() initialized to the given value.
Object containing field identifier and value information.
lessThanOrEqualTo - Object containing field identifier and value information.public FieldFilter.Type type()
FieldFilter.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be FieldFilter.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.