@Generated(value="software.amazon.awssdk:codegen") public final class TopicNumericEqualityFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TopicNumericEqualityFilter.Builder,TopicNumericEqualityFilter>
A filter that filters topics based on the value of a numeric field. The filter includes only topics whose numeric field value matches the specified value.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TopicNumericEqualityFilter.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.
|
String |
aggregationAsString()
An aggregation function that specifies how to calculate the value of a numeric field for a topic.
|
static TopicNumericEqualityFilter.Builder |
builder() |
TopicSingularFilterConstant |
constant()
The constant used in a numeric equality filter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TopicNumericEqualityFilter.Builder> |
serializableBuilderClass() |
TopicNumericEqualityFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TopicSingularFilterConstant constant()
The constant used in a numeric equality 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 TopicNumericEqualityFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TopicNumericEqualityFilter.Builder,TopicNumericEqualityFilter>public static TopicNumericEqualityFilter.Builder builder()
public static Class<? extends TopicNumericEqualityFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.