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