Class CfnDashboard.CategoricalDimensionFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalDimensionFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.CategoricalDimensionFieldProperty>
- Enclosing interface:
- CfnDashboard.CategoricalDimensionFieldProperty
@Stability(Stable)
public static final class CfnDashboard.CategoricalDimensionFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.CategoricalDimensionFieldProperty>
A builder for
CfnDashboard.CategoricalDimensionFieldProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.column
(IResolvable column) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getColumn()
Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getColumn()
Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getFieldId()
formatConfiguration
(IResolvable formatConfiguration) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getFormatConfiguration()
formatConfiguration
(CfnDashboard.StringFormatConfigurationProperty formatConfiguration) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getFormatConfiguration()
hierarchyId
(String hierarchyId) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getHierarchyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
column
@Stability(Stable) public CfnDashboard.CategoricalDimensionFieldProperty.Builder column(IResolvable column) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getColumn()
- Parameters:
column
- The column that is used in theCategoricalDimensionField
. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnDashboard.CategoricalDimensionFieldProperty.Builder column(CfnDashboard.ColumnIdentifierProperty column) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getColumn()
- Parameters:
column
- The column that is used in theCategoricalDimensionField
. This parameter is required.- Returns:
this
-
fieldId
@Stability(Stable) public CfnDashboard.CategoricalDimensionFieldProperty.Builder fieldId(String fieldId) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getFieldId()
- Parameters:
fieldId
- The custom field ID. This parameter is required.- Returns:
this
-
formatConfiguration
@Stability(Stable) public CfnDashboard.CategoricalDimensionFieldProperty.Builder formatConfiguration(IResolvable formatConfiguration) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getFormatConfiguration()
- Parameters:
formatConfiguration
- The format configuration of the field.- Returns:
this
-
formatConfiguration
@Stability(Stable) public CfnDashboard.CategoricalDimensionFieldProperty.Builder formatConfiguration(CfnDashboard.StringFormatConfigurationProperty formatConfiguration) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getFormatConfiguration()
- Parameters:
formatConfiguration
- The format configuration of the field.- Returns:
this
-
hierarchyId
@Stability(Stable) public CfnDashboard.CategoricalDimensionFieldProperty.Builder hierarchyId(String hierarchyId) Sets the value ofCfnDashboard.CategoricalDimensionFieldProperty.getHierarchyId()
- Parameters:
hierarchyId
- The custom hierarchy ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.CategoricalDimensionFieldProperty>
- Returns:
- a new instance of
CfnDashboard.CategoricalDimensionFieldProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-