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