Class ParentAggregation.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder<ParentAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase.AbstractBuilder<ParentAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.ParentAggregation.Builder
- All Implemented Interfaces:
CopyableBuilder<ParentAggregation.Builder,,ParentAggregation> MutableBuilder<ParentAggregation.Builder,,ParentAggregation> ObjectBuilder<ParentAggregation>
- Enclosing class:
ParentAggregation
public static class ParentAggregation.Builder
extends BucketAggregationBase.AbstractBuilder<ParentAggregation.Builder>
implements CopyableBuilder<ParentAggregation.Builder,ParentAggregation>
Builder for
ParentAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aParentAggregation.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected ParentAggregation.Builderself()API name:typeMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, nameMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<ParentAggregation.Builder,ParentAggregation> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<ParentAggregation.Builder>
-
type
API name:type -
build
Builds aParentAggregation.- Specified by:
buildin interfaceObjectBuilder<ParentAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-