Class NodeInfoPath.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeInfoPath.Builder>
co.elastic.clients.elasticsearch.nodes.info.NodeInfoPath.Builder
- All Implemented Interfaces:
WithJson<NodeInfoPath.Builder>,ObjectBuilder<NodeInfoPath>
- Enclosing class:
- NodeInfoPath
public static class NodeInfoPath.Builder extends WithJsonObjectBuilderBase<NodeInfoPath.Builder> implements ObjectBuilder<NodeInfoPath>
Builder for
NodeInfoPath.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NodeInfoPathbuild()Builds aNodeInfoPath.NodeInfoPath.Builderdata(java.lang.String value, java.lang.String... values)API name:dataNodeInfoPath.Builderdata(java.util.List<java.lang.String> list)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, java.lang.String... values)Required - API name:repoNodeInfoPath.Builderrepo(java.util.List<java.lang.String> list)Required - API name:repoprotected NodeInfoPath.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:repoAdds all elements of
listtorepo. -
repo
Required - API name:repoAdds one or more values to
repo. -
data
API name:dataAdds all elements of
listtodata. -
data
API name:dataAdds one or more values to
data. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodeInfoPath.Builder>
-
build
Builds aNodeInfoPath.- Specified by:
buildin interfaceObjectBuilder<NodeInfoPath>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-