Class SerialDifferencingAggregation.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder<SerialDifferencingAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.BucketPathAggregation.AbstractBuilder<SerialDifferencingAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase.AbstractBuilder<SerialDifferencingAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.SerialDifferencingAggregation.Builder
- All Implemented Interfaces:
CopyableBuilder<SerialDifferencingAggregation.Builder,,SerialDifferencingAggregation> MutableBuilder<SerialDifferencingAggregation.Builder,,SerialDifferencingAggregation> ObjectBuilder<SerialDifferencingAggregation>
- Enclosing class:
SerialDifferencingAggregation
public static class SerialDifferencingAggregation.Builder
extends PipelineAggregationBase.AbstractBuilder<SerialDifferencingAggregation.Builder>
implements CopyableBuilder<SerialDifferencingAggregation.Builder,SerialDifferencingAggregation>
Builder for
SerialDifferencingAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSerialDifferencingAggregation.copy()Create a new builderCopyableBuilderthat is a copy of this one.The historical bucket to subtract from the current value.protected SerialDifferencingAggregation.Builderself()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<SerialDifferencingAggregation.Builder,SerialDifferencingAggregation> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<SerialDifferencingAggregation.Builder>
-
lag
The historical bucket to subtract from the current value. Must be a positive, non-zero integer.API name:
lag -
build
Builds aSerialDifferencingAggregation.- Specified by:
buildin interfaceObjectBuilder<SerialDifferencingAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-