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:
CopyableBuilder<RankFeatureProperty.Builder,,RankFeatureProperty> MutableBuilder<RankFeatureProperty.Builder,,RankFeatureProperty> ObjectBuilder<RankFeatureProperty>
- Enclosing class:
RankFeatureProperty
public static class RankFeatureProperty.Builder
extends PropertyBase.AbstractBuilder<RankFeatureProperty.Builder>
implements CopyableBuilder<RankFeatureProperty.Builder,RankFeatureProperty>
Builder for
RankFeatureProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRankFeatureProperty.copy()Create a new builderCopyableBuilderthat is a copy of this one.positiveScoreImpact(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, meta, meta, properties, properties, propertiesMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<RankFeatureProperty.Builder,RankFeatureProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<RankFeatureProperty.Builder>
-
positiveScoreImpact
API name:positive_score_impact -
build
Builds aRankFeatureProperty.- Specified by:
buildin interfaceObjectBuilder<RankFeatureProperty>- Throws:
NullPointerException- if some of the required fields are null.
-