Interface Aggregate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Aggregate.Builder,
,Aggregate> SdkBuilder<Aggregate.Builder,
,Aggregate> SdkPojo
- Enclosing class:
Aggregate
public static interface Aggregate.Builder
extends SdkPojo, CopyableBuilder<Aggregate.Builder,Aggregate>
-
Method Summary
Modifier and TypeMethodDescriptionaggs
(Collection<AggregateOperation> aggs) Specifies the aggregate functions to be performed on specified fields.aggs
(Consumer<AggregateOperation.Builder>... aggs) Specifies the aggregate functions to be performed on specified fields.aggs
(AggregateOperation... aggs) Specifies the aggregate functions to be performed on specified fields.groups
(Collection<? extends Collection<String>> groups) Specifies the fields to group by.groups
(Collection<String>... groups) Specifies the fields to group by.Specifies the fields and rows to use as inputs for the aggregate transform.inputs
(Collection<String> inputs) Specifies the fields and rows to use as inputs for the aggregate transform.The name of the transform node.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 Details
-
name
The name of the transform node.
- Parameters:
name
- The name of the transform node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
Specifies the fields and rows to use as inputs for the aggregate transform.
- Parameters:
inputs
- Specifies the fields and rows to use as inputs for the aggregate transform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
Specifies the fields and rows to use as inputs for the aggregate transform.
- Parameters:
inputs
- Specifies the fields and rows to use as inputs for the aggregate transform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
Specifies the fields to group by.
- Parameters:
groups
- Specifies the fields to group by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
Specifies the fields to group by.
- Parameters:
groups
- Specifies the fields to group by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggs
Specifies the aggregate functions to be performed on specified fields.
- Parameters:
aggs
- Specifies the aggregate functions to be performed on specified fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggs
Specifies the aggregate functions to be performed on specified fields.
- Parameters:
aggs
- Specifies the aggregate functions to be performed on specified fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggs
Specifies the aggregate functions to be performed on specified fields.
This is a convenience method that creates an instance of theAggregateOperation.Builder
avoiding the need to create one manually viaAggregateOperation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaggs(List<AggregateOperation>)
.- Parameters:
aggs
- a consumer that will call methods onAggregateOperation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-