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