Class LinearInterpolationSmoothingModel.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.search.LinearInterpolationSmoothingModel.Builder
- All Implemented Interfaces:
ObjectBuilder<LinearInterpolationSmoothingModel>
- Enclosing class:
- LinearInterpolationSmoothingModel
public static class LinearInterpolationSmoothingModel.Builder extends ObjectBuilderBase implements ObjectBuilder<LinearInterpolationSmoothingModel>
Builder for
LinearInterpolationSmoothingModel.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description LinearInterpolationSmoothingModel.BuilderbigramLambda(double value)Required - API name:bigram_lambdaLinearInterpolationSmoothingModelbuild()Builds aLinearInterpolationSmoothingModel.LinearInterpolationSmoothingModel.BuildertrigramLambda(double value)Required - API name:trigram_lambdaLinearInterpolationSmoothingModel.BuilderunigramLambda(double value)Required - API name:unigram_lambdaMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 -
build
Builds aLinearInterpolationSmoothingModel.- Specified by:
buildin interfaceObjectBuilder<LinearInterpolationSmoothingModel>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-