Class NodeInfoSearchPipelines.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeInfoSearchPipelines.Builder,,NodeInfoSearchPipelines> MutableBuilder<NodeInfoSearchPipelines.Builder,,NodeInfoSearchPipelines> ObjectBuilder<NodeInfoSearchPipelines>
- Enclosing class:
NodeInfoSearchPipelines
NodeInfoSearchPipelines.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodeInfoSearchPipelines.copy()Create a new builderCopyableBuilderthat is a copy of this one.phaseResultsProcessors(Function<NodeInfoSearchPipelineProcessor.Builder, ObjectBuilder<NodeInfoSearchPipelineProcessor>> fn) The list of phase results processors in the pipeline.The list of phase results processors in the pipeline.phaseResultsProcessors(NodeInfoSearchPipelineProcessor value, NodeInfoSearchPipelineProcessor... values) The list of phase results processors in the pipeline.requestProcessors(Function<NodeInfoSearchPipelineProcessor.Builder, ObjectBuilder<NodeInfoSearchPipelineProcessor>> fn) The list of request processors in the pipeline.The list of request processors in the pipeline.requestProcessors(NodeInfoSearchPipelineProcessor value, NodeInfoSearchPipelineProcessor... values) The list of request processors in the pipeline.responseProcessors(Function<NodeInfoSearchPipelineProcessor.Builder, ObjectBuilder<NodeInfoSearchPipelineProcessor>> fn) The list of response processors in the pipeline.The list of response processors in the pipeline.responseProcessors(NodeInfoSearchPipelineProcessor value, NodeInfoSearchPipelineProcessor... values) The list of response processors in the pipeline.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<NodeInfoSearchPipelines.Builder,NodeInfoSearchPipelines> - Returns:
- a new builder instance.
-
phaseResultsProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder phaseResultsProcessors(List<NodeInfoSearchPipelineProcessor> list) The list of phase results processors in the pipeline.API name:
phase_results_processorsAdds all elements of
listtophaseResultsProcessors. -
phaseResultsProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder phaseResultsProcessors(NodeInfoSearchPipelineProcessor value, NodeInfoSearchPipelineProcessor... values) The list of phase results processors in the pipeline.API name:
phase_results_processorsAdds one or more values to
phaseResultsProcessors. -
phaseResultsProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder phaseResultsProcessors(Function<NodeInfoSearchPipelineProcessor.Builder, ObjectBuilder<NodeInfoSearchPipelineProcessor>> fn) The list of phase results processors in the pipeline.API name:
phase_results_processorsAdds a value to
phaseResultsProcessorsusing a builder lambda. -
requestProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder requestProcessors(List<NodeInfoSearchPipelineProcessor> list) The list of request processors in the pipeline.API name:
request_processorsAdds all elements of
listtorequestProcessors. -
requestProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder requestProcessors(NodeInfoSearchPipelineProcessor value, NodeInfoSearchPipelineProcessor... values) The list of request processors in the pipeline.API name:
request_processorsAdds one or more values to
requestProcessors. -
requestProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder requestProcessors(Function<NodeInfoSearchPipelineProcessor.Builder, ObjectBuilder<NodeInfoSearchPipelineProcessor>> fn) The list of request processors in the pipeline.API name:
request_processorsAdds a value to
requestProcessorsusing a builder lambda. -
responseProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder responseProcessors(List<NodeInfoSearchPipelineProcessor> list) The list of response processors in the pipeline.API name:
response_processorsAdds all elements of
listtoresponseProcessors. -
responseProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder responseProcessors(NodeInfoSearchPipelineProcessor value, NodeInfoSearchPipelineProcessor... values) The list of response processors in the pipeline.API name:
response_processorsAdds one or more values to
responseProcessors. -
responseProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder responseProcessors(Function<NodeInfoSearchPipelineProcessor.Builder, ObjectBuilder<NodeInfoSearchPipelineProcessor>> fn) The list of response processors in the pipeline.API name:
response_processorsAdds a value to
responseProcessorsusing a builder lambda. -
build
Builds aNodeInfoSearchPipelines.- Specified by:
buildin interfaceObjectBuilder<NodeInfoSearchPipelines>- Throws:
NullPointerException- if some of the required fields are null.
-