Class AggregateOutput.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AggregateOutput.Builder>
co.elastic.clients.elasticsearch.ml.put_trained_model.AggregateOutput.Builder
- All Implemented Interfaces:
- WithJson<AggregateOutput.Builder>,- ObjectBuilder<AggregateOutput>
- Enclosing class:
- AggregateOutput
public static class AggregateOutput.Builder
extends WithJsonObjectBuilderBase<AggregateOutput.Builder>
implements ObjectBuilder<AggregateOutput>
Builder for 
AggregateOutput.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aAggregateOutput.final AggregateOutput.BuilderAPI name:exponentfinal AggregateOutput.BuilderAPI name:exponentfinal AggregateOutput.BuilderlogisticRegression(Weights value) API name:logistic_regressionfinal AggregateOutput.BuilderAPI name:logistic_regressionprotected AggregateOutput.Builderself()final AggregateOutput.BuilderweightedMode(Weights value) API name:weighted_modefinal AggregateOutput.BuilderAPI name:weighted_modefinal AggregateOutput.BuilderweightedSum(Weights value) API name:weighted_sumfinal AggregateOutput.BuilderAPI name:weighted_sumMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
logisticRegressionAPI name:logistic_regression
- 
logisticRegressionpublic final AggregateOutput.Builder logisticRegression(Function<Weights.Builder, ObjectBuilder<Weights>> fn) API name:logistic_regression
- 
weightedSumAPI name:weighted_sum
- 
weightedSumpublic final AggregateOutput.Builder weightedSum(Function<Weights.Builder, ObjectBuilder<Weights>> fn) API name:weighted_sum
- 
weightedModeAPI name:weighted_mode
- 
weightedModepublic final AggregateOutput.Builder weightedMode(Function<Weights.Builder, ObjectBuilder<Weights>> fn) API name:weighted_mode
- 
exponentAPI name:exponent
- 
exponentAPI name:exponent
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<AggregateOutput.Builder>
 
- 
buildBuilds aAggregateOutput.- Specified by:
- buildin interface- ObjectBuilder<AggregateOutput>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-