Class NodeInfoPath.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.info.NodeInfoPath.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeInfoPath.Builder,,NodeInfoPath> MutableBuilder<NodeInfoPath.Builder,,NodeInfoPath> ObjectBuilder<NodeInfoPath>
- Enclosing class:
NodeInfoPath
public static class NodeInfoPath.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeInfoPath.Builder,NodeInfoPath>
Builder for
NodeInfoPath.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodeInfoPath.copy()Create a new builderCopyableBuilderthat is a copy of this one.final NodeInfoPath.BuilderThe paths configured for data storage.final NodeInfoPath.BuilderThe paths configured for data storage.final NodeInfoPath.BuilderRequired - The OpenSearch home directory path.final NodeInfoPath.BuilderRequired - The path to node log files.final NodeInfoPath.BuilderThe paths configured for snapshot repositories.final NodeInfoPath.BuilderThe paths configured for snapshot repositories.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<NodeInfoPath.Builder,NodeInfoPath> - Returns:
- a new builder instance.
-
data
The paths configured for data storage.API name:
dataAdds all elements of
listtodata. -
data
The paths configured for data storage.API name:
dataAdds one or more values to
data. -
home
Required - The OpenSearch home directory path.API name:
home -
logs
Required - The path to node log files.API name:
logs -
repo
The paths configured for snapshot repositories.API name:
repoAdds all elements of
listtorepo. -
repo
The paths configured for snapshot repositories.API name:
repoAdds one or more values to
repo. -
build
Builds aNodeInfoPath.- Specified by:
buildin interfaceObjectBuilder<NodeInfoPath>- Throws:
NullPointerException- if some of the required fields are null.
-