Class CfnDataSet.PivotConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.PivotConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.PivotConfigurationProperty>
- Enclosing interface:
CfnDataSet.PivotConfigurationProperty
@Stability(Stable)
public static final class CfnDataSet.PivotConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.PivotConfigurationProperty>
A builder for
CfnDataSet.PivotConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.labelColumnName(String labelColumnName) Sets the value ofCfnDataSet.PivotConfigurationProperty.getLabelColumnName()pivotedLabels(List<? extends Object> pivotedLabels) Sets the value ofCfnDataSet.PivotConfigurationProperty.getPivotedLabels()pivotedLabels(IResolvable pivotedLabels) Sets the value ofCfnDataSet.PivotConfigurationProperty.getPivotedLabels()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pivotedLabels
@Stability(Stable) public CfnDataSet.PivotConfigurationProperty.Builder pivotedLabels(IResolvable pivotedLabels) Sets the value ofCfnDataSet.PivotConfigurationProperty.getPivotedLabels()- Parameters:
pivotedLabels- The list of specific label values to pivot into separate columns. This parameter is required.- Returns:
this
-
pivotedLabels
@Stability(Stable) public CfnDataSet.PivotConfigurationProperty.Builder pivotedLabels(List<? extends Object> pivotedLabels) Sets the value ofCfnDataSet.PivotConfigurationProperty.getPivotedLabels()- Parameters:
pivotedLabels- The list of specific label values to pivot into separate columns. This parameter is required.- Returns:
this
-
labelColumnName
@Stability(Stable) public CfnDataSet.PivotConfigurationProperty.Builder labelColumnName(String labelColumnName) Sets the value ofCfnDataSet.PivotConfigurationProperty.getLabelColumnName()- Parameters:
labelColumnName- The name of the column that contains the labels to be pivoted into separate columns.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSet.PivotConfigurationProperty>- Returns:
- a new instance of
CfnDataSet.PivotConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-