Class CfnDataSet.PivotedLabelProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.PivotedLabelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.PivotedLabelProperty>
- Enclosing interface:
CfnDataSet.PivotedLabelProperty
@Stability(Stable)
public static final class CfnDataSet.PivotedLabelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.PivotedLabelProperty>
A builder for
CfnDataSet.PivotedLabelProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSet.PivotedLabelProperty.getLabelName()newColumnId(String newColumnId) Sets the value ofCfnDataSet.PivotedLabelProperty.getNewColumnId()newColumnName(String newColumnName) Sets the value ofCfnDataSet.PivotedLabelProperty.getNewColumnName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
labelName
Sets the value ofCfnDataSet.PivotedLabelProperty.getLabelName()- Parameters:
labelName- The label value from the source data to be pivoted. This parameter is required.- Returns:
this
-
newColumnId
Sets the value ofCfnDataSet.PivotedLabelProperty.getNewColumnId()- Parameters:
newColumnId- A unique identifier for the new column created from this pivoted label. This parameter is required.- Returns:
this
-
newColumnName
@Stability(Stable) public CfnDataSet.PivotedLabelProperty.Builder newColumnName(String newColumnName) Sets the value ofCfnDataSet.PivotedLabelProperty.getNewColumnName()- Parameters:
newColumnName- The name for the new column created from this pivoted label. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSet.PivotedLabelProperty>- Returns:
- a new instance of
CfnDataSet.PivotedLabelProperty - Throws:
NullPointerException- if any required attribute was not provided
-