Class SumBucketAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase.AbstractBuilder<SumBucketAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.SumBucketAggregation.Builder
- All Implemented Interfaces:
WithJson<SumBucketAggregation.Builder>
,ObjectBuilder<SumBucketAggregation>
- Enclosing class:
- SumBucketAggregation
public static class SumBucketAggregation.Builder extends PipelineAggregationBase.AbstractBuilder<SumBucketAggregation.Builder> implements ObjectBuilder<SumBucketAggregation>
Builder for
SumBucketAggregation
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description SumBucketAggregation
build()
Builds aSumBucketAggregation
.protected SumBucketAggregation.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase.AbstractBuilder
format, gapPolicy
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation.AbstractBuilder
bucketsPath, bucketsPath
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, name
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classAggregationBase.AbstractBuilder<SumBucketAggregation.Builder>
-
build
Builds aSumBucketAggregation
.- Specified by:
build
in interfaceObjectBuilder<SumBucketAggregation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-