Class ParentAggregate.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder<ParentAggregate.Builder>
co.elastic.clients.elasticsearch._types.aggregations.ParentAggregate.Builder
- All Implemented Interfaces:
WithJson<ParentAggregate.Builder>
,ObjectBuilder<ParentAggregate>
- Enclosing class:
- ParentAggregate
public static class ParentAggregate.Builder
extends SingleBucketAggregateBase.AbstractBuilder<ParentAggregate.Builder>
implements ObjectBuilder<ParentAggregate>
Builder for
ParentAggregate
.-
Field Summary
Fields inherited from class co.elastic.clients.elasticsearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder
aggregations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aParentAggregate
.protected ParentAggregate.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder
aggregations, aggregations, aggregations, docCount
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder
meta, meta
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 classAggregateBase.AbstractBuilder<ParentAggregate.Builder>
-
build
Builds aParentAggregate
.- Specified by:
build
in interfaceObjectBuilder<ParentAggregate>
- Throws:
NullPointerException
- if some of the required fields are null.
-