Class NodeInfoPath.Builder
java.lang.Object
co.elastic.clients.elasticsearch.nodes.info.NodeInfoPath.Builder
- All Implemented Interfaces:
ObjectBuilder<NodeInfoPath>
- Enclosing class:
- NodeInfoPath
public static class NodeInfoPath.Builder extends java.lang.Object implements ObjectBuilder<NodeInfoPath>
Builder for
NodeInfoPath.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NodeInfoPath.BuilderaddData(java.lang.String value)Add a value todata(List), creating the list if needed.NodeInfoPath.BuilderaddRepo(java.lang.String value)Add a value torepo(List), creating the list if needed.NodeInfoPathbuild()Builds aNodeInfoPath.NodeInfoPath.Builderdata(java.lang.String... value)API name:dataNodeInfoPath.Builderdata(java.util.List<java.lang.String> value)API name:dataNodeInfoPath.Builderhome(java.lang.String value)Required - API name:homeNodeInfoPath.Builderlogs(java.lang.String value)Required - API name:logsNodeInfoPath.Builderrepo(java.lang.String... value)Required - API name:repoNodeInfoPath.Builderrepo(java.util.List<java.lang.String> value)Required - API name:repoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logs
Required - API name:logs -
home
Required - API name:home -
repo
Required - API name:repo -
repo
Required - API name:repo -
addRepo
Add a value torepo(List), creating the list if needed. -
data
API name:data -
data
API name:data -
addData
Add a value todata(List), creating the list if needed. -
build
Builds aNodeInfoPath.- Specified by:
buildin interfaceObjectBuilder<NodeInfoPath>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-