Class CfnTemplate.TotalAggregationOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TotalAggregationOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TotalAggregationOptionProperty>
- Enclosing interface:
CfnTemplate.TotalAggregationOptionProperty
@Stability(Stable)
public static final class CfnTemplate.TotalAggregationOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TotalAggregationOptionProperty>
A builder for
CfnTemplate.TotalAggregationOptionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTemplate.TotalAggregationOptionProperty.getFieldId()
totalAggregationFunction
(IResolvable totalAggregationFunction) Sets the value ofCfnTemplate.TotalAggregationOptionProperty.getTotalAggregationFunction()
totalAggregationFunction
(CfnTemplate.TotalAggregationFunctionProperty totalAggregationFunction) Sets the value ofCfnTemplate.TotalAggregationOptionProperty.getTotalAggregationFunction()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldId
@Stability(Stable) public CfnTemplate.TotalAggregationOptionProperty.Builder fieldId(String fieldId) Sets the value ofCfnTemplate.TotalAggregationOptionProperty.getFieldId()
- Parameters:
fieldId
- The field id that's associated with the total aggregation option. This parameter is required.- Returns:
this
-
totalAggregationFunction
@Stability(Stable) public CfnTemplate.TotalAggregationOptionProperty.Builder totalAggregationFunction(IResolvable totalAggregationFunction) Sets the value ofCfnTemplate.TotalAggregationOptionProperty.getTotalAggregationFunction()
- Parameters:
totalAggregationFunction
- The total aggregation function that you want to set for a specified field id. This parameter is required.- Returns:
this
-
totalAggregationFunction
@Stability(Stable) public CfnTemplate.TotalAggregationOptionProperty.Builder totalAggregationFunction(CfnTemplate.TotalAggregationFunctionProperty totalAggregationFunction) Sets the value ofCfnTemplate.TotalAggregationOptionProperty.getTotalAggregationFunction()
- Parameters:
totalAggregationFunction
- The total aggregation function that you want to set for a specified field id. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.TotalAggregationOptionProperty>
- Returns:
- a new instance of
CfnTemplate.TotalAggregationOptionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-