Class MovingPercentilesAggregation.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder<MovingPercentilesAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.BucketPathAggregation.AbstractBuilder<MovingPercentilesAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase.AbstractBuilder<MovingPercentilesAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.MovingPercentilesAggregation.Builder
- All Implemented Interfaces:
CopyableBuilder<MovingPercentilesAggregation.Builder,,MovingPercentilesAggregation> MutableBuilder<MovingPercentilesAggregation.Builder,,MovingPercentilesAggregation> ObjectBuilder<MovingPercentilesAggregation>
- Enclosing class:
MovingPercentilesAggregation
public static class MovingPercentilesAggregation.Builder
extends PipelineAggregationBase.AbstractBuilder<MovingPercentilesAggregation.Builder>
implements CopyableBuilder<MovingPercentilesAggregation.Builder,MovingPercentilesAggregation>
Builder for
MovingPercentilesAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMovingPercentilesAggregation.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:keyedprotected MovingPercentilesAggregation.Builderself()By default, the window consists of the last n values excluding the current bucket.The size of window to "slide" across the histogram.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase.AbstractBuilder
format, gapPolicyMethods inherited from class org.opensearch.client.opensearch._types.aggregations.BucketPathAggregation.AbstractBuilder
bucketsPath, bucketsPathMethods 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<MovingPercentilesAggregation.Builder,MovingPercentilesAggregation> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<MovingPercentilesAggregation.Builder>
-
keyed
API name:keyed -
shift
By default, the window consists of the last n values excluding the current bucket. Increasingshiftby 1, moves the starting window position by 1 to the right.API name:
shift -
window
The size of window to "slide" across the histogram.API name:
window -
build
Builds aMovingPercentilesAggregation.- Specified by:
buildin interfaceObjectBuilder<MovingPercentilesAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-