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