@Generated(value="software.amazon.awssdk:codegen") public final class AttributeAggregationFunction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttributeAggregationFunction.Builder,AttributeAggregationFunction>
Aggregation for attributes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AttributeAggregationFunction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AttributeAggregationFunction.Builder |
builder() |
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 AttributeAggregationFunction.Builder> |
serializableBuilderClass() |
SimpleAttributeAggregationFunction |
simpleAttributeAggregation()
The built-in aggregation functions for attributes.
|
String |
simpleAttributeAggregationAsString()
The built-in aggregation functions for attributes.
|
AttributeAggregationFunction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
valueForMultipleValues()
Used by the
UNIQUE_VALUE aggregation function. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SimpleAttributeAggregationFunction simpleAttributeAggregation()
The built-in aggregation functions for attributes.
UNIQUE_VALUE: Returns the unique value for a field, aggregated by the dimension fields.
If the service returns an enum value that is not available in the current SDK version,
simpleAttributeAggregation will return SimpleAttributeAggregationFunction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from simpleAttributeAggregationAsString().
UNIQUE_VALUE: Returns the unique value for a field, aggregated by the dimension fields.
SimpleAttributeAggregationFunctionpublic final String simpleAttributeAggregationAsString()
The built-in aggregation functions for attributes.
UNIQUE_VALUE: Returns the unique value for a field, aggregated by the dimension fields.
If the service returns an enum value that is not available in the current SDK version,
simpleAttributeAggregation will return SimpleAttributeAggregationFunction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from simpleAttributeAggregationAsString().
UNIQUE_VALUE: Returns the unique value for a field, aggregated by the dimension fields.
SimpleAttributeAggregationFunctionpublic final String valueForMultipleValues()
Used by the UNIQUE_VALUE aggregation function. If there are multiple values for the field used by
the aggregation, the value for this property will be returned instead. Defaults to '*'.
UNIQUE_VALUE aggregation function. If there are multiple values for the field
used by the aggregation, the value for this property will be returned instead. Defaults to '*'.public AttributeAggregationFunction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AttributeAggregationFunction.Builder,AttributeAggregationFunction>public static AttributeAggregationFunction.Builder builder()
public static Class<? extends AttributeAggregationFunction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.