Class CfnDataSet.CalculatedColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.CalculatedColumnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.CalculatedColumnProperty>
- Enclosing interface:
CfnDataSet.CalculatedColumnProperty
@Stability(Stable)
public static final class CfnDataSet.CalculatedColumnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.CalculatedColumnProperty>
A builder for
CfnDataSet.CalculatedColumnProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSet.CalculatedColumnProperty.getColumnId()columnName(String columnName) Sets the value ofCfnDataSet.CalculatedColumnProperty.getColumnName()expression(String expression) Sets the value ofCfnDataSet.CalculatedColumnProperty.getExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnId
Sets the value ofCfnDataSet.CalculatedColumnProperty.getColumnId()- Parameters:
columnId- A unique ID to identify a calculated column. This parameter is required. During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Quick Sight preserves the existing calculated column.- Returns:
this
-
columnName
Sets the value ofCfnDataSet.CalculatedColumnProperty.getColumnName()- Parameters:
columnName- Column name. This parameter is required.- Returns:
this
-
expression
Sets the value ofCfnDataSet.CalculatedColumnProperty.getExpression()- Parameters:
expression- An expression that defines the calculated column. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSet.CalculatedColumnProperty>- Returns:
- a new instance of
CfnDataSet.CalculatedColumnProperty - Throws:
NullPointerException- if any required attribute was not provided
-