Class LinearInterpolationSmoothingModel.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<LinearInterpolationSmoothingModel.Builder>
co.elastic.clients.elasticsearch.core.search.LinearInterpolationSmoothingModel.Builder
- All Implemented Interfaces:
WithJson<LinearInterpolationSmoothingModel.Builder>
,ObjectBuilder<LinearInterpolationSmoothingModel>
- Enclosing class:
- LinearInterpolationSmoothingModel
public static class LinearInterpolationSmoothingModel.Builder
extends WithJsonObjectBuilderBase<LinearInterpolationSmoothingModel.Builder>
implements ObjectBuilder<LinearInterpolationSmoothingModel>
Builder for
LinearInterpolationSmoothingModel
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbigramLambda
(double value) Required - API name:bigram_lambda
build()
Builds aLinearInterpolationSmoothingModel
.self()
trigramLambda
(double value) Required - API name:trigram_lambda
unigramLambda
(double value) Required - API name:unigram_lambda
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
-
bigramLambda
Required - API name:bigram_lambda
-
trigramLambda
Required - API name:trigram_lambda
-
unigramLambda
Required - API name:unigram_lambda
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<LinearInterpolationSmoothingModel.Builder>
-
build
Builds aLinearInterpolationSmoothingModel
.- Specified by:
build
in interfaceObjectBuilder<LinearInterpolationSmoothingModel>
- Throws:
NullPointerException
- if some of the required fields are null.
-