Interface CfnDataSetPropsMixin.AggregationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSetPropsMixin.AggregationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSetPropsMixin
@Stability(Stable)
public static interface CfnDataSetPropsMixin.AggregationProperty
extends software.amazon.jsii.JsiiSerializable
Defines an aggregation function to be applied to grouped data, creating a new column with the calculated result.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.quicksight.*;
AggregationProperty aggregationProperty = AggregationProperty.builder()
.aggregationFunction(DataPrepAggregationFunctionProperty.builder()
.listAggregation(DataPrepListAggregationFunctionProperty.builder()
.distinct(false)
.inputColumnName("inputColumnName")
.separator("separator")
.build())
.percentileAggregation(DataPrepPercentileAggregationFunctionProperty.builder()
.inputColumnName("inputColumnName")
.percentileValue(123)
.build())
.simpleAggregation(DataPrepSimpleAggregationFunctionProperty.builder()
.functionType("functionType")
.inputColumnName("inputColumnName")
.build())
.build())
.newColumnId("newColumnId")
.newColumnName("newColumnName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSetPropsMixin.AggregationPropertystatic final classAn implementation forCfnDataSetPropsMixin.AggregationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe aggregation function to apply, such asSUM,COUNT,AVERAGE,MIN,MAX.default StringA unique identifier for the new column that will contain the aggregated values.default StringThe name for the new column that will contain the aggregated values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAggregationFunction
The aggregation function to apply, such asSUM,COUNT,AVERAGE,MIN,MAX.Returns union: either
IResolvableorCfnDataSetPropsMixin.DataPrepAggregationFunctionProperty- See Also:
-
getNewColumnId
A unique identifier for the new column that will contain the aggregated values.- See Also:
-
getNewColumnName
The name for the new column that will contain the aggregated values.- See Also:
-
builder
-