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 forScoreRankerPhaseResultsProcessor.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScoreRankerPhaseResultsProcessorbuild()Builds aScoreRankerPhaseResultsProcessor.ScoreRankerPhaseResultsProcessor.Buildercombination(java.util.function.Function<ScoreRankerCombination.Builder,ObjectBuilder<ScoreRankerCombination>> fn)Required - API name:combinationScoreRankerPhaseResultsProcessor.Buildercombination(ScoreRankerCombination value)Required - API name:combinationScoreRankerPhaseResultsProcessor.Buildercopy()Create a new builderCopyableBuilderthat is a copy of this one.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
-
-
-
Method Detail
-
copy
@Nonnull public ScoreRankerPhaseResultsProcessor.Builder 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(java.util.function.Function<ScoreRankerCombination.Builder,ObjectBuilder<ScoreRankerCombination>> fn)
Required - API name:combination
-
build
@Nonnull public ScoreRankerPhaseResultsProcessor build()
Builds aScoreRankerPhaseResultsProcessor.- Specified by:
buildin interfaceObjectBuilder<ScoreRankerPhaseResultsProcessor>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-