Class CfnDashboardPropsMixin.CalculatedMeasureFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDashboardPropsMixin.CalculatedMeasureFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.CalculatedMeasureFieldProperty>
- Enclosing interface:
CfnDashboardPropsMixin.CalculatedMeasureFieldProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.CalculatedMeasureFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.CalculatedMeasureFieldProperty>
A builder for
CfnDashboardPropsMixin.CalculatedMeasureFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.expression(String expression) Sets the value ofCfnDashboardPropsMixin.CalculatedMeasureFieldProperty.getExpression()Sets the value ofCfnDashboardPropsMixin.CalculatedMeasureFieldProperty.getFieldId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
@Stability(Stable) public CfnDashboardPropsMixin.CalculatedMeasureFieldProperty.Builder expression(String expression) Sets the value ofCfnDashboardPropsMixin.CalculatedMeasureFieldProperty.getExpression()- Parameters:
expression- The expression in the table calculation.- Returns:
this
-
fieldId
@Stability(Stable) public CfnDashboardPropsMixin.CalculatedMeasureFieldProperty.Builder fieldId(String fieldId) Sets the value ofCfnDashboardPropsMixin.CalculatedMeasureFieldProperty.getFieldId()- Parameters:
fieldId- The custom field ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.CalculatedMeasureFieldProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.CalculatedMeasureFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-