@Generated(value="software.amazon.awssdk:codegen") public final class Filter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Filter.Builder,Filter>
A search filter.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Filter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Filter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FilterField |
field()
The field on which to filter.
|
String |
fieldAsString()
The field on which to filter.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
FilterOperator |
operator()
The operator to use for comparing the field’s value with the provided value.
|
String |
operatorAsString()
The operator to use for comparing the field’s value with the provided value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Filter.Builder> |
serializableBuilderClass() |
Filter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The desired field value on which to filter.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FilterField field()
The field on which to filter.
If the service returns an enum value that is not available in the current SDK version, field will return
FilterField.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldAsString().
FilterFieldpublic final String fieldAsString()
The field on which to filter.
If the service returns an enum value that is not available in the current SDK version, field will return
FilterField.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldAsString().
FilterFieldpublic final FilterOperator operator()
The operator to use for comparing the field’s value with the provided value.
If the service returns an enum value that is not available in the current SDK version, operator will
return FilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operatorAsString().
FilterOperatorpublic final String operatorAsString()
The operator to use for comparing the field’s value with the provided value.
If the service returns an enum value that is not available in the current SDK version, operator will
return FilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operatorAsString().
FilterOperatorpublic final String value()
The desired field value on which to filter.
public Filter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Filter.Builder,Filter>public static Filter.Builder builder()
public static Class<? extends Filter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.