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