Class BoxplotAggregation.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase.AbstractBuilder<BoxplotAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.BoxplotAggregation.Builder
- All Implemented Interfaces:
CopyableBuilder<BoxplotAggregation.Builder,,BoxplotAggregation> MutableBuilder<BoxplotAggregation.Builder,,BoxplotAggregation> ObjectBuilder<BoxplotAggregation>
- Enclosing class:
BoxplotAggregation
public static class BoxplotAggregation.Builder
extends MetricAggregationBase.AbstractBuilder<BoxplotAggregation.Builder>
implements CopyableBuilder<BoxplotAggregation.Builder,BoxplotAggregation>
Builder for
BoxplotAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aBoxplotAggregation.compression(Double value) Limits the maximum number of nodes used by the underlying TDigest algorithm to20 * compression, enabling control of memory usage and approximation error.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected BoxplotAggregation.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase.AbstractBuilder
field, missing, missing, script, scriptMethods 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<BoxplotAggregation.Builder,BoxplotAggregation> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classMetricAggregationBase.AbstractBuilder<BoxplotAggregation.Builder>
-
compression
Limits the maximum number of nodes used by the underlying TDigest algorithm to20 * compression, enabling control of memory usage and approximation error.API name:
compression -
build
Builds aBoxplotAggregation.- Specified by:
buildin interfaceObjectBuilder<BoxplotAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-