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