Class BucketCorrelationAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation.AbstractBuilder<BucketCorrelationAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.BucketCorrelationAggregation.Builder
- All Implemented Interfaces:
WithJson<BucketCorrelationAggregation.Builder>
,ObjectBuilder<BucketCorrelationAggregation>
- Enclosing class:
- BucketCorrelationAggregation
public static class BucketCorrelationAggregation.Builder
extends BucketPathAggregation.AbstractBuilder<BucketCorrelationAggregation.Builder>
implements ObjectBuilder<BucketCorrelationAggregation>
Builder for
BucketCorrelationAggregation
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aBucketCorrelationAggregation
.Required - The correlation function to execute.Required - The correlation function to execute.protected BucketCorrelationAggregation.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation.AbstractBuilder
bucketsPath, bucketsPath
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, name
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
function
Required - The correlation function to execute.API name:
function
-
function
public final BucketCorrelationAggregation.Builder function(Function<BucketCorrelationFunction.Builder, ObjectBuilder<BucketCorrelationFunction>> fn) Required - The correlation function to execute.API name:
function
-
self
- Specified by:
self
in classAggregationBase.AbstractBuilder<BucketCorrelationAggregation.Builder>
-
build
Builds aBucketCorrelationAggregation
.- Specified by:
build
in interfaceObjectBuilder<BucketCorrelationAggregation>
- Throws:
NullPointerException
- if some of the required fields are null.
-