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