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