Class CfnDataSetPropsMixin.AggregateOperationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDataSetPropsMixin.AggregateOperationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSetPropsMixin.AggregateOperationProperty>
- Enclosing interface:
CfnDataSetPropsMixin.AggregateOperationProperty
@Stability(Stable)
public static final class CfnDataSetPropsMixin.AggregateOperationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSetPropsMixin.AggregateOperationProperty>
A builder for
CfnDataSetPropsMixin.AggregateOperationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregations(List<? extends Object> aggregations) Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getAggregations()aggregations(IResolvable aggregations) Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getAggregations()Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getAlias()build()Builds the configured instance.groupByColumnNames(List<String> groupByColumnNames) Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getGroupByColumnNames()Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getSource()source(IResolvable source) Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregations
@Stability(Stable) public CfnDataSetPropsMixin.AggregateOperationProperty.Builder aggregations(IResolvable aggregations) Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getAggregations()- Parameters:
aggregations- The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE.- Returns:
this
-
aggregations
@Stability(Stable) public CfnDataSetPropsMixin.AggregateOperationProperty.Builder aggregations(List<? extends Object> aggregations) Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getAggregations()- Parameters:
aggregations- The list of aggregation functions to apply to the grouped data, such asSUM,COUNT, orAVERAGE.- Returns:
this
-
alias
@Stability(Stable) public CfnDataSetPropsMixin.AggregateOperationProperty.Builder alias(String alias) Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getAlias()- Parameters:
alias- Alias for this operation.- Returns:
this
-
groupByColumnNames
@Stability(Stable) public CfnDataSetPropsMixin.AggregateOperationProperty.Builder groupByColumnNames(List<String> groupByColumnNames) Sets the value ofCfnDataSetPropsMixin.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
-
source
@Stability(Stable) public CfnDataSetPropsMixin.AggregateOperationProperty.Builder source(IResolvable source) Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getSource()- Parameters:
source- The source transform operation that provides input data for the aggregation.- Returns:
this
-
source
@Stability(Stable) public CfnDataSetPropsMixin.AggregateOperationProperty.Builder source(CfnDataSetPropsMixin.TransformOperationSourceProperty source) Sets the value ofCfnDataSetPropsMixin.AggregateOperationProperty.getSource()- Parameters:
source- The source transform operation that provides input data for the aggregation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSetPropsMixin.AggregateOperationProperty>- Returns:
- a new instance of
CfnDataSetPropsMixin.AggregateOperationProperty - Throws:
NullPointerException- if any required attribute was not provided
-