Class ParentAggregate.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder<ParentAggregate.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.ParentAggregate.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ParentAggregate>
- Enclosing class:
- ParentAggregate
public static class ParentAggregate.Builder extends SingleBucketAggregateBase.AbstractBuilder<ParentAggregate.Builder> implements ObjectBuilder<ParentAggregate>
Builder forParentAggregate.
-
-
Field Summary
-
Fields inherited from class org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder
aggregations
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParentAggregatebuild()Builds aParentAggregate.protected ParentAggregate.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder
aggregations, aggregations, aggregations, docCount
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder
meta, meta
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected ParentAggregate.Builder self()
- Specified by:
selfin classAggregateBase.AbstractBuilder<ParentAggregate.Builder>
-
build
public ParentAggregate build()
Builds aParentAggregate.- Specified by:
buildin interfaceObjectBuilder<ParentAggregate>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-