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
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ParentAggregation
build()
Builds aParentAggregation
.protected ParentAggregation.Builder
self()
ParentAggregation.Builder
type(java.lang.String value)
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
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
-
type
API name:type
-
self
- Specified by:
self
in classAggregationBase.AbstractBuilder<ParentAggregation.Builder>
-
build
Builds aParentAggregation
.- Specified by:
build
in interfaceObjectBuilder<ParentAggregation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-