Class ResponseBase.AbstractBuilder<BuilderT extends ResponseBase.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.nodes.NodesResponseBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.nodes.usage.ResponseBase.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
NodesUsageResponse.Builder
- Enclosing class:
- ResponseBase
public abstract static class ResponseBase.AbstractBuilder<BuilderT extends ResponseBase.AbstractBuilder<BuilderT>>
extends NodesResponseBase.AbstractBuilder<BuilderT>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderT
clusterName
(String value) Required - API name:cluster_name
final BuilderT
Required - API name:nodes
final BuilderT
nodes
(String key, Function<NodeUsage.Builder, ObjectBuilder<NodeUsage>> fn) Required - API name:nodes
final BuilderT
Required - API name:nodes
Methods inherited from class co.elastic.clients.elasticsearch.nodes.NodesResponseBase.AbstractBuilder
nodeStats, nodeStats, self
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
clusterName
Required - API name:cluster_name
-
nodes
Required - API name:nodes
Adds all entries of
map
tonodes
. -
nodes
Required - API name:nodes
Adds an entry to
nodes
. -
nodes
Required - API name:nodes
Adds an entry to
nodes
using a builder lambda.
-