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.Builder
bigramLambda(double value)
Required - API name:bigram_lambda
LinearInterpolationSmoothingModel
build()
Builds aLinearInterpolationSmoothingModel
.LinearInterpolationSmoothingModel.Builder
trigramLambda(double value)
Required - API name:trigram_lambda
LinearInterpolationSmoothingModel.Builder
unigramLambda(double value)
Required - API name:unigram_lambda
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:
build
in interfaceObjectBuilder<LinearInterpolationSmoothingModel>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-