Class RankFeatureFunctionLogarithm.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.query_dsl.RankFeatureFunction.AbstractBuilder<RankFeatureFunctionLogarithm.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.RankFeatureFunctionLogarithm.Builder
- All Implemented Interfaces:
WithJson<RankFeatureFunctionLogarithm.Builder>,ObjectBuilder<RankFeatureFunctionLogarithm>
- Enclosing class:
- RankFeatureFunctionLogarithm
public static class RankFeatureFunctionLogarithm.Builder
extends RankFeatureFunction.AbstractBuilder<RankFeatureFunctionLogarithm.Builder>
implements ObjectBuilder<RankFeatureFunctionLogarithm>
Builder for
RankFeatureFunctionLogarithm.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRankFeatureFunctionLogarithm.scalingFactor(float value) Required - API name:scaling_factorprotected RankFeatureFunctionLogarithm.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scalingFactor
Required - API name:scaling_factor -
self
- Specified by:
selfin classRankFeatureFunction.AbstractBuilder<RankFeatureFunctionLogarithm.Builder>
-
build
Builds aRankFeatureFunctionLogarithm.- Specified by:
buildin interfaceObjectBuilder<RankFeatureFunctionLogarithm>- Throws:
NullPointerException- if some of the required fields are null.
-