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