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