Class ScoreRankerCombination.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.search_pipeline.ScoreRankerCombination.Builder
- All Implemented Interfaces:
CopyableBuilder<ScoreRankerCombination.Builder,,ScoreRankerCombination> MutableBuilder<ScoreRankerCombination.Builder,,ScoreRankerCombination> ObjectBuilder<ScoreRankerCombination>
- Enclosing class:
ScoreRankerCombination
public static class ScoreRankerCombination.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ScoreRankerCombination.Builder,ScoreRankerCombination>
Builder for
ScoreRankerCombination.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aScoreRankerCombination.copy()Create a new builderCopyableBuilderthat is a copy of this one.rankConstant(Integer value) API name:rank_constantRequired - API name:techniqueMethods 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<ScoreRankerCombination.Builder,ScoreRankerCombination> - Returns:
- a new builder instance.
-
rankConstant
API name:rank_constant -
technique
@Nonnull public final ScoreRankerCombination.Builder technique(ScoreRankerCombinationTechnique value) Required - API name:technique -
build
Builds aScoreRankerCombination.- Specified by:
buildin interfaceObjectBuilder<ScoreRankerCombination>- Throws:
NullPointerException- if some of the required fields are null.
-