Class CfnConfiguredTable.AggregationConstraintProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnConfiguredTable.AggregationConstraintProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredTable.AggregationConstraintProperty>
- Enclosing interface:
CfnConfiguredTable.AggregationConstraintProperty
@Stability(Stable)
public static final class CfnConfiguredTable.AggregationConstraintProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredTable.AggregationConstraintProperty>
A builder for
CfnConfiguredTable.AggregationConstraintProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.columnName(String columnName) Sets the value ofCfnConfiguredTable.AggregationConstraintProperty.getColumnName()Sets the value ofCfnConfiguredTable.AggregationConstraintProperty.getMinimum()Sets the value ofCfnConfiguredTable.AggregationConstraintProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnName
@Stability(Stable) public CfnConfiguredTable.AggregationConstraintProperty.Builder columnName(String columnName) Sets the value ofCfnConfiguredTable.AggregationConstraintProperty.getColumnName()- Parameters:
columnName- Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output. This parameter is required.- Returns:
this
-
minimum
@Stability(Stable) public CfnConfiguredTable.AggregationConstraintProperty.Builder minimum(Number minimum) Sets the value ofCfnConfiguredTable.AggregationConstraintProperty.getMinimum()- Parameters:
minimum- The minimum number of distinct values that an output row must be an aggregation of. This parameter is required. Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.- Returns:
this
-
type
@Stability(Stable) public CfnConfiguredTable.AggregationConstraintProperty.Builder type(String type) Sets the value ofCfnConfiguredTable.AggregationConstraintProperty.getType()- Parameters:
type- The type of aggregation the constraint allows. This parameter is required. The only valid value is currentlyCOUNT_DISTINCT.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredTable.AggregationConstraintProperty>- Returns:
- a new instance of
CfnConfiguredTable.AggregationConstraintProperty - Throws:
NullPointerException- if any required attribute was not provided
-