Class LinearInterpolationSmoothingModel.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.core.search.LinearInterpolationSmoothingModel.Builder
-
- All Implemented Interfaces:
ObjectBuilder<LinearInterpolationSmoothingModel>
- Enclosing class:
- LinearInterpolationSmoothingModel
public static class LinearInterpolationSmoothingModel.Builder extends ObjectBuilderBase implements ObjectBuilder<LinearInterpolationSmoothingModel>
Builder forLinearInterpolationSmoothingModel.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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_lambda-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
bigramLambda
public final LinearInterpolationSmoothingModel.Builder bigramLambda(double value)
Required - API name:bigram_lambda
-
trigramLambda
public final LinearInterpolationSmoothingModel.Builder trigramLambda(double value)
Required - API name:trigram_lambda
-
unigramLambda
public final LinearInterpolationSmoothingModel.Builder unigramLambda(double value)
Required - API name:unigram_lambda
-
build
public LinearInterpolationSmoothingModel build()
Builds aLinearInterpolationSmoothingModel.- Specified by:
buildin interfaceObjectBuilder<LinearInterpolationSmoothingModel>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-