Interface AggregationConstraint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AggregationConstraint.Builder,AggregationConstraint>,SdkBuilder<AggregationConstraint.Builder,AggregationConstraint>,SdkPojo
- Enclosing class:
- AggregationConstraint
public static interface AggregationConstraint.Builder extends SdkPojo, CopyableBuilder<AggregationConstraint.Builder,AggregationConstraint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregationConstraint.BuildercolumnName(String 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.AggregationConstraint.Builderminimum(Integer minimum)The minimum number of distinct values that an output row must be an aggregation of.AggregationConstraint.Buildertype(String type)The type of aggregation the constraint allows.AggregationConstraint.Buildertype(AggregationType type)The type of aggregation the constraint allows.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
columnName
AggregationConstraint.Builder columnName(String 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
minimum
AggregationConstraint.Builder minimum(Integer 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
type
AggregationConstraint.Builder type(String type)
The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
- Parameters:
type- The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AggregationType,AggregationType
-
type
AggregationConstraint.Builder type(AggregationType type)
The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.
- Parameters:
type- The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AggregationType,AggregationType
-
-