Class RankFeatureProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
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 RankFeaturePropertybuild()Builds aRankFeatureProperty.RankFeatureProperty.BuilderpositiveScoreImpact(java.lang.Boolean value)API name:positive_score_impactprotected RankFeatureProperty.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, name, properties, properties, propertiesMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
selfin classPropertyBase.AbstractBuilder<RankFeatureProperty.Builder>
-
build
Builds aRankFeatureProperty.- Specified by:
buildin interfaceObjectBuilder<RankFeatureProperty>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-