Class LinearInterpolationSmoothingModel.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.search.LinearInterpolationSmoothingModel.Builder
- All Implemented Interfaces:
CopyableBuilder<LinearInterpolationSmoothingModel.Builder,,LinearInterpolationSmoothingModel> MutableBuilder<LinearInterpolationSmoothingModel.Builder,,LinearInterpolationSmoothingModel> ObjectBuilder<LinearInterpolationSmoothingModel>
- Enclosing class:
LinearInterpolationSmoothingModel
public static class LinearInterpolationSmoothingModel.Builder
extends ObjectBuilderBase
implements CopyableBuilder<LinearInterpolationSmoothingModel.Builder,LinearInterpolationSmoothingModel>
Builder for
LinearInterpolationSmoothingModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbigramLambda(double value) Required - API name:bigram_lambdabuild()Builds aLinearInterpolationSmoothingModel.copy()Create a new builderCopyableBuilderthat is a copy of this one.trigramLambda(double value) Required - API name:trigram_lambdaunigramLambda(double value) Required - API name:unigram_lambdaMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<LinearInterpolationSmoothingModel.Builder,LinearInterpolationSmoothingModel> - Returns:
- a new builder instance.
-
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:
NullPointerException- if some of the required fields are null.
-