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