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