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