Class ParentAggregation.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBase.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 forParentAggregation.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParentAggregationbuild()Builds aParentAggregation.protected ParentAggregation.Builderself()ParentAggregation.Buildertype(java.lang.String value)API name:type-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, name
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
type
public final ParentAggregation.Builder type(@Nullable java.lang.String value)
API name:type
-
self
protected ParentAggregation.Builder self()
- Specified by:
selfin classAggregationBase.AbstractBuilder<ParentAggregation.Builder>
-
build
public ParentAggregation build()
Builds aParentAggregation.- Specified by:
buildin interfaceObjectBuilder<ParentAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-