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