Class SumBucketAggregation.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase.AbstractBuilder<SumBucketAggregation.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.SumBucketAggregation.Builder
-
- All Implemented Interfaces:
ObjectBuilder<SumBucketAggregation>
- Enclosing class:
- SumBucketAggregation
public static class SumBucketAggregation.Builder extends PipelineAggregationBase.AbstractBuilder<SumBucketAggregation.Builder> implements ObjectBuilder<SumBucketAggregation>
Builder forSumBucketAggregation
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SumBucketAggregation
build()
Builds aSumBucketAggregation
.protected SumBucketAggregation.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase.AbstractBuilder
bucketsPath, bucketsPath, format, gapPolicy
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, name
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected SumBucketAggregation.Builder self()
- Specified by:
self
in classAggregationBase.AbstractBuilder<SumBucketAggregation.Builder>
-
build
public SumBucketAggregation build()
Builds aSumBucketAggregation
.- Specified by:
build
in interfaceObjectBuilder<SumBucketAggregation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-