Class CfnDataSet.AggregateOperationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.AggregateOperationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.AggregateOperationProperty>
- Enclosing interface:
CfnDataSet.AggregateOperationProperty
@Stability(Stable)
public static final class CfnDataSet.AggregateOperationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.AggregateOperationProperty>
A builder for
CfnDataSet.AggregateOperationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregations(List<? extends Object> aggregations) Sets the value ofCfnDataSet.AggregateOperationProperty.getAggregations()aggregations(IResolvable aggregations) Sets the value ofCfnDataSet.AggregateOperationProperty.getAggregations()Sets the value ofCfnDataSet.AggregateOperationProperty.getAlias()build()Builds the configured instance.groupByColumnNames(List<String> groupByColumnNames) Sets the value ofCfnDataSet.AggregateOperationProperty.getGroupByColumnNames()source(IResolvable source) Sets the value ofCfnDataSet.AggregateOperationProperty.getSource()Sets the value ofCfnDataSet.AggregateOperationProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregations
@Stability(Stable) public CfnDataSet.AggregateOperationProperty.Builder aggregations(IResolvable aggregations) Sets the value ofCfnDataSet.AggregateOperationProperty.getAggregations()- Parameters:
aggregations- The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE. This parameter is required.- Returns:
this
-
aggregations
@Stability(Stable) public CfnDataSet.AggregateOperationProperty.Builder aggregations(List<? extends Object> aggregations) Sets the value ofCfnDataSet.AggregateOperationProperty.getAggregations()- Parameters:
aggregations- The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE. This parameter is required.- Returns:
this
-
alias
Sets the value ofCfnDataSet.AggregateOperationProperty.getAlias()- Parameters:
alias- Alias for this operation. This parameter is required.- Returns:
this
-
source
Sets the value ofCfnDataSet.AggregateOperationProperty.getSource()- Parameters:
source- The source transform operation that provides input data for the aggregation. This parameter is required.- Returns:
this
-
source
@Stability(Stable) public CfnDataSet.AggregateOperationProperty.Builder source(CfnDataSet.TransformOperationSourceProperty source) Sets the value ofCfnDataSet.AggregateOperationProperty.getSource()- Parameters:
source- The source transform operation that provides input data for the aggregation. This parameter is required.- Returns:
this
-
groupByColumnNames
@Stability(Stable) public CfnDataSet.AggregateOperationProperty.Builder groupByColumnNames(List<String> groupByColumnNames) Sets the value ofCfnDataSet.AggregateOperationProperty.getGroupByColumnNames()- Parameters:
groupByColumnNames- The list of column names to group by when performing the aggregation. Rows with the same values in these columns will be grouped together.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSet.AggregateOperationProperty>- Returns:
- a new instance of
CfnDataSet.AggregateOperationProperty - Throws:
NullPointerException- if any required attribute was not provided
-