Class RankFeatureProperty.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<RankFeatureProperty.Builder>
-
- org.opensearch.client.opensearch._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 forRankFeatureProperty.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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 org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, name, properties, properties, properties
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
positiveScoreImpact
public final RankFeatureProperty.Builder positiveScoreImpact(@Nullable java.lang.Boolean value)
API name:positive_score_impact
-
self
protected RankFeatureProperty.Builder self()
- Specified by:
selfin classPropertyBase.AbstractBuilder<RankFeatureProperty.Builder>
-
build
public RankFeatureProperty build()
Builds aRankFeatureProperty.- Specified by:
buildin interfaceObjectBuilder<RankFeatureProperty>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-