Class CfnDataSetPropsMixin.AggregationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDataSetPropsMixin.AggregationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSetPropsMixin.AggregationProperty>
- Enclosing interface:
CfnDataSetPropsMixin.AggregationProperty
@Stability(Stable)
public static final class CfnDataSetPropsMixin.AggregationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSetPropsMixin.AggregationProperty>
A builder for
CfnDataSetPropsMixin.AggregationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationFunction(IResolvable aggregationFunction) Sets the value ofCfnDataSetPropsMixin.AggregationProperty.getAggregationFunction()aggregationFunction(CfnDataSetPropsMixin.DataPrepAggregationFunctionProperty aggregationFunction) Sets the value ofCfnDataSetPropsMixin.AggregationProperty.getAggregationFunction()build()Builds the configured instance.newColumnId(String newColumnId) Sets the value ofCfnDataSetPropsMixin.AggregationProperty.getNewColumnId()newColumnName(String newColumnName) Sets the value ofCfnDataSetPropsMixin.AggregationProperty.getNewColumnName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationFunction
@Stability(Stable) public CfnDataSetPropsMixin.AggregationProperty.Builder aggregationFunction(IResolvable aggregationFunction) Sets the value ofCfnDataSetPropsMixin.AggregationProperty.getAggregationFunction()- Parameters:
aggregationFunction- The aggregation function to apply, such asSUM,COUNT,AVERAGE,MIN,MAX.- Returns:
this
-
aggregationFunction
@Stability(Stable) public CfnDataSetPropsMixin.AggregationProperty.Builder aggregationFunction(CfnDataSetPropsMixin.DataPrepAggregationFunctionProperty aggregationFunction) Sets the value ofCfnDataSetPropsMixin.AggregationProperty.getAggregationFunction()- Parameters:
aggregationFunction- The aggregation function to apply, such asSUM,COUNT,AVERAGE,MIN,MAX.- Returns:
this
-
newColumnId
@Stability(Stable) public CfnDataSetPropsMixin.AggregationProperty.Builder newColumnId(String newColumnId) Sets the value ofCfnDataSetPropsMixin.AggregationProperty.getNewColumnId()- Parameters:
newColumnId- A unique identifier for the new column that will contain the aggregated values.- Returns:
this
-
newColumnName
@Stability(Stable) public CfnDataSetPropsMixin.AggregationProperty.Builder newColumnName(String newColumnName) Sets the value ofCfnDataSetPropsMixin.AggregationProperty.getNewColumnName()- Parameters:
newColumnName- The name for the new column that will contain the aggregated values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSetPropsMixin.AggregationProperty>- Returns:
- a new instance of
CfnDataSetPropsMixin.AggregationProperty - Throws:
NullPointerException- if any required attribute was not provided
-