@Generated(value="software.amazon.awssdk:codegen") public final class Filter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Filter.Builder,Filter>
Describes a filter for choosing a subset of dimension values. Each filter consists of the dimension that you want to
include and the condition statement. The condition statement is specified in the FilterOperation object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Filter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Filter.Builder |
builder() |
String |
dimensionValue()
The value that you want to include in the filter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FilterOperation |
filterOperation()
The condition to apply.
|
String |
filterOperationAsString()
The condition to apply.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Filter.Builder> |
serializableBuilderClass() |
Filter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dimensionValue()
The value that you want to include in the filter.
public final FilterOperation filterOperation()
The condition to apply.
If the service returns an enum value that is not available in the current SDK version, filterOperation
will return FilterOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from filterOperationAsString().
FilterOperationpublic final String filterOperationAsString()
The condition to apply.
If the service returns an enum value that is not available in the current SDK version, filterOperation
will return FilterOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from filterOperationAsString().
FilterOperationpublic 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.