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