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