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