Class CfnAnalysis.TotalAggregationOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.TotalAggregationOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.TotalAggregationOptionProperty>
- Enclosing interface:
CfnAnalysis.TotalAggregationOptionProperty
@Stability(Stable)
public static final class CfnAnalysis.TotalAggregationOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.TotalAggregationOptionProperty>
A builder for
CfnAnalysis.TotalAggregationOptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalysis.TotalAggregationOptionProperty.getFieldId()totalAggregationFunction(IResolvable totalAggregationFunction) Sets the value ofCfnAnalysis.TotalAggregationOptionProperty.getTotalAggregationFunction()totalAggregationFunction(CfnAnalysis.TotalAggregationFunctionProperty totalAggregationFunction) Sets the value ofCfnAnalysis.TotalAggregationOptionProperty.getTotalAggregationFunction()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldId
@Stability(Stable) public CfnAnalysis.TotalAggregationOptionProperty.Builder fieldId(String fieldId) Sets the value ofCfnAnalysis.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 CfnAnalysis.TotalAggregationOptionProperty.Builder totalAggregationFunction(IResolvable totalAggregationFunction) Sets the value ofCfnAnalysis.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 CfnAnalysis.TotalAggregationOptionProperty.Builder totalAggregationFunction(CfnAnalysis.TotalAggregationFunctionProperty totalAggregationFunction) Sets the value ofCfnAnalysis.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.TotalAggregationOptionProperty>- Returns:
- a new instance of
CfnAnalysis.TotalAggregationOptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-