Interface CfnDataSet.AggregationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSet.AggregationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSet
@Stability(Stable)
public static interface CfnDataSet.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.services.quicksight.*;
AggregationProperty aggregationProperty = AggregationProperty.builder()
.aggregationFunction(DataPrepAggregationFunctionProperty.builder()
.listAggregation(DataPrepListAggregationFunctionProperty.builder()
.distinct(false)
.separator("separator")
// the properties below are optional
.inputColumnName("inputColumnName")
.build())
.percentileAggregation(DataPrepPercentileAggregationFunctionProperty.builder()
.percentileValue(123)
// the properties below are optional
.inputColumnName("inputColumnName")
.build())
.simpleAggregation(DataPrepSimpleAggregationFunctionProperty.builder()
.functionType("functionType")
// the properties below are optional
.inputColumnName("inputColumnName")
.build())
.build())
.newColumnId("newColumnId")
.newColumnName("newColumnName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSet.AggregationPropertystatic final classAn implementation forCfnDataSet.AggregationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The aggregation function to apply, such asSUM,COUNT,AVERAGE,MIN,MAX.A unique identifier for the new column that will contain the aggregated values.The 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
IResolvableorCfnDataSet.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
-