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