Class GlobalAggregation.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.BucketAggregationBase.AbstractBuilder<GlobalAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.GlobalAggregation.Builder
- All Implemented Interfaces:
WithJson<GlobalAggregation.Builder>
,ObjectBuilder<GlobalAggregation>
- Enclosing class:
- GlobalAggregation
public static class GlobalAggregation.Builder
extends BucketAggregationBase.AbstractBuilder<GlobalAggregation.Builder>
implements ObjectBuilder<GlobalAggregation>
Builder for
GlobalAggregation
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGlobalAggregation
.protected GlobalAggregation.Builder
self()
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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classAggregationBase.AbstractBuilder<GlobalAggregation.Builder>
-
build
Builds aGlobalAggregation
.- Specified by:
build
in interfaceObjectBuilder<GlobalAggregation>
- Throws:
NullPointerException
- if some of the required fields are null.
-