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