Class RankFeatureProperty.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<RankFeatureProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.RankFeatureProperty.Builder
- All Implemented Interfaces:
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, ignoreAbove, localMetadata, meta, name, properties, properties, putFields, putFields, putLocalMetadata, putMeta, putProperties, putProperties
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.
-