Interface TotalAggregationOption.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TotalAggregationOption.Builder,TotalAggregationOption>,SdkBuilder<TotalAggregationOption.Builder,TotalAggregationOption>,SdkPojo
- Enclosing class:
- TotalAggregationOption
@Mutable @NotThreadSafe public static interface TotalAggregationOption.Builder extends SdkPojo, CopyableBuilder<TotalAggregationOption.Builder,TotalAggregationOption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TotalAggregationOption.BuilderfieldId(String fieldId)The field id that's associated with the total aggregation option.default TotalAggregationOption.BuildertotalAggregationFunction(Consumer<TotalAggregationFunction.Builder> totalAggregationFunction)The total aggregation function that you want to set for a specified field id.TotalAggregationOption.BuildertotalAggregationFunction(TotalAggregationFunction totalAggregationFunction)The total aggregation function that you want to set for a specified field id.-
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
-
fieldId
TotalAggregationOption.Builder fieldId(String fieldId)
The field id that's associated with the total aggregation option.
- Parameters:
fieldId- The field id that's associated with the total aggregation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalAggregationFunction
TotalAggregationOption.Builder totalAggregationFunction(TotalAggregationFunction totalAggregationFunction)
The total aggregation function that you want to set for a specified field id.
- Parameters:
totalAggregationFunction- The total aggregation function that you want to set for a specified field id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalAggregationFunction
default TotalAggregationOption.Builder totalAggregationFunction(Consumer<TotalAggregationFunction.Builder> totalAggregationFunction)
The total aggregation function that you want to set for a specified field id.
This is a convenience method that creates an instance of theTotalAggregationFunction.Builderavoiding the need to create one manually viaTotalAggregationFunction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tototalAggregationFunction(TotalAggregationFunction).- Parameters:
totalAggregationFunction- a consumer that will call methods onTotalAggregationFunction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
totalAggregationFunction(TotalAggregationFunction)
-
-