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