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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbigramLambda(double value) Required - API name:bigram_lambdabuild()Builds aLinearInterpolationSmoothingModel.self()trigramLambda(double value) Required - API name:trigram_lambdaunigramLambda(double value) Required - API name:unigram_lambdaMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<LinearInterpolationSmoothingModel.Builder>
-
build
Builds aLinearInterpolationSmoothingModel.- Specified by:
buildin interfaceObjectBuilder<LinearInterpolationSmoothingModel>- Throws:
NullPointerException- if some of the required fields are null.
-