@Generated(value="software.amazon.awssdk:codegen") public final class TopicNumericRangeFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TopicNumericRangeFilter.Builder,TopicNumericRangeFilter>
A filter that filters topics based on the value of a numeric field. The filter includes only topics whose numeric field value falls within the specified range.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TopicNumericRangeFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
NamedFilterAggType |
aggregation()
An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values
for this structure are
NO_AGGREGATION, SUM, AVERAGE, COUNT,
DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV,
STDEVP, VAR, and VARP. |
String |
aggregationAsString()
An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values
for this structure are
NO_AGGREGATION, SUM, AVERAGE, COUNT,
DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV,
STDEVP, VAR, and VARP. |
static TopicNumericRangeFilter.Builder |
builder() |
TopicRangeFilterConstant |
constant()
The constant used in a numeric range filter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
inclusive()
A Boolean value that indicates whether the endpoints of the numeric range are included in the filter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TopicNumericRangeFilter.Builder> |
serializableBuilderClass() |
TopicNumericRangeFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean inclusive()
A Boolean value that indicates whether the endpoints of the numeric range are included in the filter. If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter.
public final TopicRangeFilterConstant constant()
The constant used in a numeric range filter.
public final NamedFilterAggType aggregation()
An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values
for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT,
DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV,
STDEVP, VAR, and VARP.
If the service returns an enum value that is not available in the current SDK version, aggregation will
return NamedFilterAggType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
aggregationAsString().
NO_AGGREGATION, SUM, AVERAGE,
COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN,
STDEV, STDEVP, VAR, and VARP.NamedFilterAggTypepublic final String aggregationAsString()
An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values
for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT,
DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV,
STDEVP, VAR, and VARP.
If the service returns an enum value that is not available in the current SDK version, aggregation will
return NamedFilterAggType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
aggregationAsString().
NO_AGGREGATION, SUM, AVERAGE,
COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN,
STDEV, STDEVP, VAR, and VARP.NamedFilterAggTypepublic TopicNumericRangeFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TopicNumericRangeFilter.Builder,TopicNumericRangeFilter>public static TopicNumericRangeFilter.Builder builder()
public static Class<? extends TopicNumericRangeFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.