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
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ParentAggregatebuild()Builds aParentAggregate.protected ParentAggregate.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder
aggregations, aggregations, aggregations, docCountMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder
meta, metaMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
selfin classAggregateBase.AbstractBuilder<ParentAggregate.Builder>
-
build
Builds aParentAggregate.- Specified by:
buildin interfaceObjectBuilder<ParentAggregate>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-