@Generated(value="software.amazon.awssdk:codegen") public final class Filter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Filter.Builder,Filter>
A specific result obtained by specifying the name, value, and operator.
| 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the filter.
|
FilterOperator |
operator()
The operator for the filter.
|
String |
operatorAsString()
The operator for the filter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Filter.Builder> |
serializableBuilderClass() |
Filter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The filter values.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the filter. Filter names are case-sensitive.
public final String value()
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values
public final FilterOperator operator()
The operator for the filter.
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 for the filter.
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 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.