Class ParentAggregation.Builder
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.Aggregation.AbstractBuilder<BuilderT>
org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase.AbstractBuilder<ParentAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.ParentAggregation.Builder
- All Implemented Interfaces:
ObjectBuilder<ParentAggregation>
- Enclosing class:
- ParentAggregation
public static class ParentAggregation.Builder extends BucketAggregationBase.AbstractBuilder<ParentAggregation.Builder> implements ObjectBuilder<ParentAggregation>
Builder for
ParentAggregation.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
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 org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase.AbstractBuilder
aggregations, aggregations, putAggregations, putAggregationsMethods inherited from class org.opensearch.client.opensearch._types.aggregations.Aggregation.AbstractBuilder
meta, name, putMeta
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
API name:type -
self
- Specified by:
selfin classAggregation.AbstractBuilder<ParentAggregation.Builder>
-
build
Builds aParentAggregation.- Specified by:
buildin interfaceObjectBuilder<ParentAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-