Class CfnDataSet.PivotOperationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.PivotOperationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.PivotOperationProperty>
- Enclosing interface:
CfnDataSet.PivotOperationProperty
@Stability(Stable)
public static final class CfnDataSet.PivotOperationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.PivotOperationProperty>
A builder for
CfnDataSet.PivotOperationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataSet.PivotOperationProperty.getAlias()build()Builds the configured instance.groupByColumnNames(List<String> groupByColumnNames) Sets the value ofCfnDataSet.PivotOperationProperty.getGroupByColumnNames()pivotConfiguration(IResolvable pivotConfiguration) Sets the value ofCfnDataSet.PivotOperationProperty.getPivotConfiguration()pivotConfiguration(CfnDataSet.PivotConfigurationProperty pivotConfiguration) Sets the value ofCfnDataSet.PivotOperationProperty.getPivotConfiguration()source(IResolvable source) Sets the value ofCfnDataSet.PivotOperationProperty.getSource()Sets the value ofCfnDataSet.PivotOperationProperty.getSource()valueColumnConfiguration(IResolvable valueColumnConfiguration) Sets the value ofCfnDataSet.PivotOperationProperty.getValueColumnConfiguration()valueColumnConfiguration(CfnDataSet.ValueColumnConfigurationProperty valueColumnConfiguration) Sets the value ofCfnDataSet.PivotOperationProperty.getValueColumnConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alias
Sets the value ofCfnDataSet.PivotOperationProperty.getAlias()- Parameters:
alias- Alias for this operation. This parameter is required.- Returns:
this
-
pivotConfiguration
@Stability(Stable) public CfnDataSet.PivotOperationProperty.Builder pivotConfiguration(IResolvable pivotConfiguration) Sets the value ofCfnDataSet.PivotOperationProperty.getPivotConfiguration()- Parameters:
pivotConfiguration- Configuration that specifies which labels to pivot and how to structure the resulting columns. This parameter is required.- Returns:
this
-
pivotConfiguration
@Stability(Stable) public CfnDataSet.PivotOperationProperty.Builder pivotConfiguration(CfnDataSet.PivotConfigurationProperty pivotConfiguration) Sets the value ofCfnDataSet.PivotOperationProperty.getPivotConfiguration()- Parameters:
pivotConfiguration- Configuration that specifies which labels to pivot and how to structure the resulting columns. This parameter is required.- Returns:
this
-
source
Sets the value ofCfnDataSet.PivotOperationProperty.getSource()- Parameters:
source- The source transform operation that provides input data for pivoting. This parameter is required.- Returns:
this
-
source
@Stability(Stable) public CfnDataSet.PivotOperationProperty.Builder source(CfnDataSet.TransformOperationSourceProperty source) Sets the value ofCfnDataSet.PivotOperationProperty.getSource()- Parameters:
source- The source transform operation that provides input data for pivoting. This parameter is required.- Returns:
this
-
valueColumnConfiguration
@Stability(Stable) public CfnDataSet.PivotOperationProperty.Builder valueColumnConfiguration(IResolvable valueColumnConfiguration) Sets the value ofCfnDataSet.PivotOperationProperty.getValueColumnConfiguration()- Parameters:
valueColumnConfiguration- Configuration for how to aggregate values when multiple rows map to the same pivoted column. This parameter is required.- Returns:
this
-
valueColumnConfiguration
@Stability(Stable) public CfnDataSet.PivotOperationProperty.Builder valueColumnConfiguration(CfnDataSet.ValueColumnConfigurationProperty valueColumnConfiguration) Sets the value ofCfnDataSet.PivotOperationProperty.getValueColumnConfiguration()- Parameters:
valueColumnConfiguration- Configuration for how to aggregate values when multiple rows map to the same pivoted column. This parameter is required.- Returns:
this
-
groupByColumnNames
@Stability(Stable) public CfnDataSet.PivotOperationProperty.Builder groupByColumnNames(List<String> groupByColumnNames) Sets the value ofCfnDataSet.PivotOperationProperty.getGroupByColumnNames()- Parameters:
groupByColumnNames- The list of column names to group by when performing the pivot operation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSet.PivotOperationProperty>- Returns:
- a new instance of
CfnDataSet.PivotOperationProperty - Throws:
NullPointerException- if any required attribute was not provided
-