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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Aggregate.Builderaggs(Collection<AggregateOperation> aggs)Specifies the aggregate functions to be performed on specified fields.Aggregate.Builderaggs(Consumer<AggregateOperation.Builder>... aggs)Specifies the aggregate functions to be performed on specified fields.Aggregate.Builderaggs(AggregateOperation... aggs)Specifies the aggregate functions to be performed on specified fields.Aggregate.Buildergroups(Collection<? extends Collection<String>> groups)Specifies the fields to group by.Aggregate.Buildergroups(Collection<String>... groups)Specifies the fields to group by.Aggregate.Builderinputs(String... inputs)Specifies the fields and rows to use as inputs for the aggregate transform.Aggregate.Builderinputs(Collection<String> inputs)Specifies the fields and rows to use as inputs for the aggregate transform.Aggregate.Buildername(String name)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
Aggregate.Builder name(String 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
Aggregate.Builder inputs(Collection<String> 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
Aggregate.Builder inputs(String... 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
Aggregate.Builder groups(Collection<? extends Collection<String>> 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
Aggregate.Builder groups(Collection<String>... 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
Aggregate.Builder aggs(Collection<AggregateOperation> 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
Aggregate.Builder aggs(AggregateOperation... 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
Aggregate.Builder aggs(Consumer<AggregateOperation.Builder>... aggs)
Specifies the aggregate functions to be performed on specified fields.
This is a convenience method that creates an instance of theAggregateOperation.Builderavoiding the need to create one manually viaAggregateOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#aggs(List.) - 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:
#aggs(java.util.Collection)
-
-