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