Class LaplaceSmoothingModel.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<LaplaceSmoothingModel.Builder>
co.elastic.clients.elasticsearch.core.search.LaplaceSmoothingModel.Builder
- All Implemented Interfaces:
WithJson<LaplaceSmoothingModel.Builder>,ObjectBuilder<LaplaceSmoothingModel>
- Enclosing class:
- LaplaceSmoothingModel
public static class LaplaceSmoothingModel.Builder extends WithJsonObjectBuilderBase<LaplaceSmoothingModel.Builder> implements ObjectBuilder<LaplaceSmoothingModel>
Builder for
LaplaceSmoothingModel.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description LaplaceSmoothingModel.Builderalpha(double value)Required - API name:alphaLaplaceSmoothingModelbuild()Builds aLaplaceSmoothingModel.protected LaplaceSmoothingModel.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
alpha
Required - API name:alpha -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<LaplaceSmoothingModel.Builder>
-
build
Builds aLaplaceSmoothingModel.- Specified by:
buildin interfaceObjectBuilder<LaplaceSmoothingModel>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-