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