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