@Generated(value="software.amazon.awssdk:codegen") public final class AggregationFunction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregationFunction.Builder,AggregationFunction>
An aggregation function aggregates values from a dimension or measure.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AggregationFunction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AggregationFunction.Builder |
builder() |
CategoricalAggregationFunction |
categoricalAggregationFunction()
Aggregation for categorical values.
|
String |
categoricalAggregationFunctionAsString()
Aggregation for categorical values.
|
DateAggregationFunction |
dateAggregationFunction()
Aggregation for date values.
|
String |
dateAggregationFunctionAsString()
Aggregation for date values.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
NumericalAggregationFunction |
numericalAggregationFunction()
Aggregation for numerical values.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AggregationFunction.Builder> |
serializableBuilderClass() |
AggregationFunction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final NumericalAggregationFunction numericalAggregationFunction()
Aggregation for numerical values.
public final CategoricalAggregationFunction categoricalAggregationFunction()
Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
If the service returns an enum value that is not available in the current SDK version,
categoricalAggregationFunction will return CategoricalAggregationFunction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from categoricalAggregationFunctionAsString().
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
CategoricalAggregationFunctionpublic final String categoricalAggregationFunctionAsString()
Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
If the service returns an enum value that is not available in the current SDK version,
categoricalAggregationFunction will return CategoricalAggregationFunction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from categoricalAggregationFunctionAsString().
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
CategoricalAggregationFunctionpublic final DateAggregationFunction dateAggregationFunction()
Aggregation for date values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
If the service returns an enum value that is not available in the current SDK version,
dateAggregationFunction will return DateAggregationFunction.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from dateAggregationFunctionAsString().
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
DateAggregationFunctionpublic final String dateAggregationFunctionAsString()
Aggregation for date values.
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
If the service returns an enum value that is not available in the current SDK version,
dateAggregationFunction will return DateAggregationFunction.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from dateAggregationFunctionAsString().
COUNT: Aggregate by the total number of values, including duplicates.
DISTINCT_COUNT: Aggregate by the total number of distinct values.
MIN: Select the smallest date value.
MAX: Select the largest date value.
DateAggregationFunctionpublic AggregationFunction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AggregationFunction.Builder,AggregationFunction>public static AggregationFunction.Builder builder()
public static Class<? extends AggregationFunction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.