Class RankFeatureFunctionLogarithm.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.RankFeatureFunctionLogarithm.Builder
-
- All Implemented Interfaces:
ObjectBuilder<RankFeatureFunctionLogarithm>
- Enclosing class:
- RankFeatureFunctionLogarithm
public static class RankFeatureFunctionLogarithm.Builder extends ObjectBuilderBase implements ObjectBuilder<RankFeatureFunctionLogarithm>
Builder forRankFeatureFunctionLogarithm.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RankFeatureFunctionLogarithmbuild()Builds aRankFeatureFunctionLogarithm.RankFeatureFunctionLogarithm.BuilderscalingFactor(float value)Required - API name:scaling_factor-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
scalingFactor
public final RankFeatureFunctionLogarithm.Builder scalingFactor(float value)
Required - API name:scaling_factor
-
build
public RankFeatureFunctionLogarithm build()
Builds aRankFeatureFunctionLogarithm.- Specified by:
buildin interfaceObjectBuilder<RankFeatureFunctionLogarithm>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-