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