public static interface TotalAggregationOption.Builder extends SdkPojo, CopyableBuilder<TotalAggregationOption.Builder,TotalAggregationOption>
| Modifier and Type | Method and Description |
|---|---|
TotalAggregationOption.Builder |
fieldId(String fieldId)
The field id that's associated with the total aggregation option.
|
default TotalAggregationOption.Builder |
totalAggregationFunction(Consumer<TotalAggregationFunction.Builder> totalAggregationFunction)
The total aggregation function that you want to set for a specified field id.
|
TotalAggregationOption.Builder |
totalAggregationFunction(TotalAggregationFunction totalAggregationFunction)
The total aggregation function that you want to set for a specified field id.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTotalAggregationOption.Builder fieldId(String fieldId)
The field id that's associated with the total aggregation option.
fieldId - The field id that's associated with the total aggregation option.TotalAggregationOption.Builder totalAggregationFunction(TotalAggregationFunction totalAggregationFunction)
The total aggregation function that you want to set for a specified field id.
totalAggregationFunction - The total aggregation function that you want to set for a specified field id.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.Builder
avoiding the need to create one manually via TotalAggregationFunction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to totalAggregationFunction(TotalAggregationFunction).
totalAggregationFunction - a consumer that will call methods on TotalAggregationFunction.BuildertotalAggregationFunction(TotalAggregationFunction)Copyright © 2023. All rights reserved.