Class RankFeatureFunctionLogarithm.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.query_dsl.RankFeatureFunctionLogarithm.Builder
- All Implemented Interfaces:
ObjectBuilder<RankFeatureFunctionLogarithm>
- Enclosing class:
- RankFeatureFunctionLogarithm
public static class RankFeatureFunctionLogarithm.Builder extends ObjectBuilderBase implements ObjectBuilder<RankFeatureFunctionLogarithm>
Builder for
RankFeatureFunctionLogarithm
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description RankFeatureFunctionLogarithm
build()
Builds aRankFeatureFunctionLogarithm
.RankFeatureFunctionLogarithm.Builder
scalingFactor(float value)
Required - API name:scaling_factor
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
-
scalingFactor
Required - API name:scaling_factor
-
build
Builds aRankFeatureFunctionLogarithm
.- Specified by:
build
in interfaceObjectBuilder<RankFeatureFunctionLogarithm>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-