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