Class CfnConfiguredTablePropsMixin.AggregationConstraintProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cleanrooms.CfnConfiguredTablePropsMixin.AggregationConstraintProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredTablePropsMixin.AggregationConstraintProperty>
- Enclosing interface:
CfnConfiguredTablePropsMixin.AggregationConstraintProperty
@Stability(Stable)
public static final class CfnConfiguredTablePropsMixin.AggregationConstraintProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredTablePropsMixin.AggregationConstraintProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.columnName(String columnName) Sets the value ofCfnConfiguredTablePropsMixin.AggregationConstraintProperty.getMinimum()Sets the value ofCfnConfiguredTablePropsMixin.AggregationConstraintProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnName
@Stability(Stable) public CfnConfiguredTablePropsMixin.AggregationConstraintProperty.Builder columnName(String columnName) - 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.- Returns:
this
-
minimum
@Stability(Stable) public CfnConfiguredTablePropsMixin.AggregationConstraintProperty.Builder minimum(Number minimum) Sets the value ofCfnConfiguredTablePropsMixin.AggregationConstraintProperty.getMinimum()- Parameters:
minimum- The minimum number of distinct values that an output row must be an aggregation of. 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 CfnConfiguredTablePropsMixin.AggregationConstraintProperty.Builder type(String type) Sets the value ofCfnConfiguredTablePropsMixin.AggregationConstraintProperty.getType()- Parameters:
type- The type of aggregation the constraint allows. The only valid value is currentlyCOUNT_DISTINCT.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredTablePropsMixin.AggregationConstraintProperty>- Returns:
- a new instance of
CfnConfiguredTablePropsMixin.AggregationConstraintProperty - Throws:
NullPointerException- if any required attribute was not provided
-