Class GlobalAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
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:
ObjectBuilder<GlobalAggregation>
- Enclosing class:
- GlobalAggregation
public static class GlobalAggregation.Builder extends BucketAggregationBase.AbstractBuilder<GlobalAggregation.Builder> implements ObjectBuilder<GlobalAggregation>
Builder for
GlobalAggregation
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GlobalAggregation
build()
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.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<GlobalAggregation.Builder>
-
build
Builds aGlobalAggregation
.- Specified by:
build
in interfaceObjectBuilder<GlobalAggregation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-