Class LaplaceSmoothingModel.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.core.search.LaplaceSmoothingModel.Builder
-
- All Implemented Interfaces:
ObjectBuilder<LaplaceSmoothingModel>
- Enclosing class:
- LaplaceSmoothingModel
public static class LaplaceSmoothingModel.Builder extends ObjectBuilderBase implements ObjectBuilder<LaplaceSmoothingModel>
Builder forLaplaceSmoothingModel.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaplaceSmoothingModel.Builderalpha(double value)Required - API name:alphaLaplaceSmoothingModelbuild()Builds aLaplaceSmoothingModel.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
alpha
public final LaplaceSmoothingModel.Builder alpha(double value)
Required - API name:alpha
-
build
public LaplaceSmoothingModel build()
Builds aLaplaceSmoothingModel.- Specified by:
buildin interfaceObjectBuilder<LaplaceSmoothingModel>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-