Class CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredTable.AnalysisRuleAggregationProperty>
- Enclosing interface:
CfnConfiguredTable.AnalysisRuleAggregationProperty
@Stability(Stable)
public static final class CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredTable.AnalysisRuleAggregationProperty>
A builder for
CfnConfiguredTable.AnalysisRuleAggregationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregateColumns(List<? extends Object> aggregateColumns) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getAggregateColumns()aggregateColumns(IResolvable aggregateColumns) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getAggregateColumns()allowedJoinOperators(List<String> allowedJoinOperators) build()Builds the configured instance.dimensionColumns(List<String> dimensionColumns) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getDimensionColumns()joinColumns(List<String> joinColumns) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getJoinColumns()joinRequired(String joinRequired) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getJoinRequired()outputConstraints(List<? extends Object> outputConstraints) outputConstraints(IResolvable outputConstraints) scalarFunctions(List<String> scalarFunctions) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getScalarFunctions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregateColumns
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder aggregateColumns(IResolvable aggregateColumns) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getAggregateColumns()- Parameters:
aggregateColumns- The columns that query runners are allowed to use in aggregation queries. This parameter is required.- Returns:
this
-
aggregateColumns
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder aggregateColumns(List<? extends Object> aggregateColumns) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getAggregateColumns()- Parameters:
aggregateColumns- The columns that query runners are allowed to use in aggregation queries. This parameter is required.- Returns:
this
-
dimensionColumns
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder dimensionColumns(List<String> dimensionColumns) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getDimensionColumns()- Parameters:
dimensionColumns- The columns that query runners are allowed to select, group by, or filter by. This parameter is required.- Returns:
this
-
joinColumns
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder joinColumns(List<String> joinColumns) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getJoinColumns()- Parameters:
joinColumns- Columns in configured table that can be used in join statements and/or as aggregate columns. This parameter is required. They can never be outputted directly.- Returns:
this
-
outputConstraints
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder outputConstraints(IResolvable outputConstraints) - Parameters:
outputConstraints- Columns that must meet a specific threshold value (after an aggregation function is applied to it) for each output row to be returned. This parameter is required.- Returns:
this
-
outputConstraints
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder outputConstraints(List<? extends Object> outputConstraints) - Parameters:
outputConstraints- Columns that must meet a specific threshold value (after an aggregation function is applied to it) for each output row to be returned. This parameter is required.- Returns:
this
-
scalarFunctions
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder scalarFunctions(List<String> scalarFunctions) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getScalarFunctions()- Parameters:
scalarFunctions- Set of scalar functions that are allowed to be used on dimension columns and the output of aggregation of metrics. This parameter is required.- Returns:
this
-
allowedJoinOperators
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder allowedJoinOperators(List<String> allowedJoinOperators) - Parameters:
allowedJoinOperators- Which logical operators (if any) are to be used in an INNER JOIN match condition. Default isAND.- Returns:
this
-
joinRequired
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleAggregationProperty.Builder joinRequired(String joinRequired) Sets the value ofCfnConfiguredTable.AnalysisRuleAggregationProperty.getJoinRequired()- Parameters:
joinRequired- Control that requires member who runs query to do a join with their configured table and/or other configured table in query.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredTable.AnalysisRuleAggregationProperty>- Returns:
- a new instance of
CfnConfiguredTable.AnalysisRuleAggregationProperty - Throws:
NullPointerException- if any required attribute was not provided
-