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.Builder
addData(java.lang.String value)
Add a value todata(List)
, creating the list if needed.NodeInfoPath.Builder
addRepo(java.lang.String value)
Add a value torepo(List)
, creating the list if needed.NodeInfoPath
build()
Builds aNodeInfoPath
.NodeInfoPath.Builder
data(java.lang.String... value)
API name:data
NodeInfoPath.Builder
data(java.util.List<java.lang.String> value)
API name:data
NodeInfoPath.Builder
home(java.lang.String value)
Required - API name:home
NodeInfoPath.Builder
logs(java.lang.String value)
Required - API name:logs
NodeInfoPath.Builder
repo(java.lang.String... value)
Required - API name:repo
NodeInfoPath.Builder
repo(java.util.List<java.lang.String> value)
Required - API name:repo
Methods 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:
build
in interfaceObjectBuilder<NodeInfoPath>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-