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