Class RankFeatureProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<RankFeatureProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.RankFeatureProperty.Builder
- All Implemented Interfaces:
WithJson<RankFeatureProperty.Builder>
,ObjectBuilder<RankFeatureProperty>
- Enclosing class:
- RankFeatureProperty
public static class RankFeatureProperty.Builder extends PropertyBase.AbstractBuilder<RankFeatureProperty.Builder> implements ObjectBuilder<RankFeatureProperty>
Builder for
RankFeatureProperty
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description RankFeatureProperty
build()
Builds aRankFeatureProperty
.RankFeatureProperty.Builder
positiveScoreImpact(java.lang.Boolean value)
API name:positive_score_impact
protected RankFeatureProperty.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, properties, properties, properties
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
-
positiveScoreImpact
API name:positive_score_impact
-
self
- Specified by:
self
in classPropertyBase.AbstractBuilder<RankFeatureProperty.Builder>
-
build
Builds aRankFeatureProperty
.- Specified by:
build
in interfaceObjectBuilder<RankFeatureProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-