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