Class NodeInfoSearchPipelines.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.info.NodeInfoSearchPipelines.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeInfoSearchPipelines.Builder,,NodeInfoSearchPipelines> MutableBuilder<NodeInfoSearchPipelines.Builder,,NodeInfoSearchPipelines> ObjectBuilder<NodeInfoSearchPipelines>
- Enclosing class:
NodeInfoSearchPipelines
public static class NodeInfoSearchPipelines.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeInfoSearchPipelines.Builder,NodeInfoSearchPipelines>
Builder for
NodeInfoSearchPipelines.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodeInfoSearchPipelines.copy()Create a new builderCopyableBuilderthat is a copy of this one.requestProcessors(Function<NodeInfoIngestProcessor.Builder, ObjectBuilder<NodeInfoIngestProcessor>> fn) The list of request processors in the pipeline.The list of request processors in the pipeline.requestProcessors(NodeInfoIngestProcessor value, NodeInfoIngestProcessor... values) The list of request processors in the pipeline.responseProcessors(Function<NodeInfoIngestProcessor.Builder, ObjectBuilder<NodeInfoIngestProcessor>> fn) The list of response processors in the pipeline.The list of response processors in the pipeline.responseProcessors(NodeInfoIngestProcessor value, NodeInfoIngestProcessor... 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.
-
requestProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder requestProcessors(List<NodeInfoIngestProcessor> list) The list of request processors in the pipeline.API name:
request_processorsAdds all elements of
listtorequestProcessors. -
requestProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder requestProcessors(NodeInfoIngestProcessor value, NodeInfoIngestProcessor... 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<NodeInfoIngestProcessor.Builder, ObjectBuilder<NodeInfoIngestProcessor>> 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<NodeInfoIngestProcessor> list) The list of response processors in the pipeline.API name:
response_processorsAdds all elements of
listtoresponseProcessors. -
responseProcessors
@Nonnull public final NodeInfoSearchPipelines.Builder responseProcessors(NodeInfoIngestProcessor value, NodeInfoIngestProcessor... 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<NodeInfoIngestProcessor.Builder, ObjectBuilder<NodeInfoIngestProcessor>> 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.
-