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 ParentAggregationbuild()Builds aParentAggregation.protected ParentAggregation.Builderself()ParentAggregation.Buildertype(java.lang.String value)API name:typeMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, nameMethods 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
-
type
API name:type -
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<ParentAggregation.Builder>
-
build
Builds aParentAggregation.- Specified by:
buildin interfaceObjectBuilder<ParentAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-