Class CfnTemplatePropsMixin.MeasureFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.MeasureFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.MeasureFieldProperty>
- Enclosing interface:
CfnTemplatePropsMixin.MeasureFieldProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.MeasureFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.MeasureFieldProperty>
A builder for
CfnTemplatePropsMixin.MeasureFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.calculatedMeasureField(CfnTemplatePropsMixin.CalculatedMeasureFieldProperty calculatedMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getCalculatedMeasureField()calculatedMeasureField(IResolvable calculatedMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getCalculatedMeasureField()categoricalMeasureField(CfnTemplatePropsMixin.CategoricalMeasureFieldProperty categoricalMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getCategoricalMeasureField()categoricalMeasureField(IResolvable categoricalMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getCategoricalMeasureField()dateMeasureField(CfnTemplatePropsMixin.DateMeasureFieldProperty dateMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getDateMeasureField()dateMeasureField(IResolvable dateMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getDateMeasureField()numericalMeasureField(CfnTemplatePropsMixin.NumericalMeasureFieldProperty numericalMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getNumericalMeasureField()numericalMeasureField(IResolvable numericalMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getNumericalMeasureField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
calculatedMeasureField
@Stability(Stable) public CfnTemplatePropsMixin.MeasureFieldProperty.Builder calculatedMeasureField(IResolvable calculatedMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getCalculatedMeasureField()- Parameters:
calculatedMeasureField- The calculated measure field only used in pivot tables.- Returns:
this
-
calculatedMeasureField
@Stability(Stable) public CfnTemplatePropsMixin.MeasureFieldProperty.Builder calculatedMeasureField(CfnTemplatePropsMixin.CalculatedMeasureFieldProperty calculatedMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getCalculatedMeasureField()- Parameters:
calculatedMeasureField- The calculated measure field only used in pivot tables.- Returns:
this
-
categoricalMeasureField
@Stability(Stable) public CfnTemplatePropsMixin.MeasureFieldProperty.Builder categoricalMeasureField(IResolvable categoricalMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getCategoricalMeasureField()- Parameters:
categoricalMeasureField- The measure type field with categorical type columns.- Returns:
this
-
categoricalMeasureField
@Stability(Stable) public CfnTemplatePropsMixin.MeasureFieldProperty.Builder categoricalMeasureField(CfnTemplatePropsMixin.CategoricalMeasureFieldProperty categoricalMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getCategoricalMeasureField()- Parameters:
categoricalMeasureField- The measure type field with categorical type columns.- Returns:
this
-
dateMeasureField
@Stability(Stable) public CfnTemplatePropsMixin.MeasureFieldProperty.Builder dateMeasureField(IResolvable dateMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getDateMeasureField()- Parameters:
dateMeasureField- The measure type field with date type columns.- Returns:
this
-
dateMeasureField
@Stability(Stable) public CfnTemplatePropsMixin.MeasureFieldProperty.Builder dateMeasureField(CfnTemplatePropsMixin.DateMeasureFieldProperty dateMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getDateMeasureField()- Parameters:
dateMeasureField- The measure type field with date type columns.- Returns:
this
-
numericalMeasureField
@Stability(Stable) public CfnTemplatePropsMixin.MeasureFieldProperty.Builder numericalMeasureField(IResolvable numericalMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getNumericalMeasureField()- Parameters:
numericalMeasureField- The measure type field with numerical type columns.- Returns:
this
-
numericalMeasureField
@Stability(Stable) public CfnTemplatePropsMixin.MeasureFieldProperty.Builder numericalMeasureField(CfnTemplatePropsMixin.NumericalMeasureFieldProperty numericalMeasureField) Sets the value ofCfnTemplatePropsMixin.MeasureFieldProperty.getNumericalMeasureField()- Parameters:
numericalMeasureField- The measure type field with numerical type columns.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.MeasureFieldProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.MeasureFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-