Class ParentAggregate.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<ParentAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder<ParentAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.ParentAggregate.Builder
- All Implemented Interfaces:
CopyableBuilder<ParentAggregate.Builder,,ParentAggregate> MutableBuilder<ParentAggregate.Builder,,ParentAggregate> ObjectBuilder<ParentAggregate>
- Enclosing class:
ParentAggregate
public static class ParentAggregate.Builder
extends SingleBucketAggregateBase.AbstractBuilder<ParentAggregate.Builder>
implements CopyableBuilder<ParentAggregate.Builder,ParentAggregate>
Builder for
ParentAggregate.-
Field Summary
Fields inherited from class org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder
aggregations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aParentAggregate.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected ParentAggregate.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.aggregations.SingleBucketAggregateBase.AbstractBuilder
aggregations, aggregations, aggregations, docCountMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder
meta, metaMethods 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<ParentAggregate.Builder,ParentAggregate> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregateBase.AbstractBuilder<ParentAggregate.Builder>
-
build
Builds aParentAggregate.- Specified by:
buildin interfaceObjectBuilder<ParentAggregate>- Throws:
NullPointerException- if some of the required fields are null.
-