Class NodesStatsResponse.Builder
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.stats.ResponseBase.AbstractBuilder<NodesStatsResponse.Builder>
co.elastic.clients.elasticsearch.nodes.NodesStatsResponse.Builder
- All Implemented Interfaces:
WithJson<NodesStatsResponse.Builder>
,ObjectBuilder<NodesStatsResponse>
- Enclosing class:
- NodesStatsResponse
public static class NodesStatsResponse.Builder
extends ResponseBase.AbstractBuilder<NodesStatsResponse.Builder>
implements ObjectBuilder<NodesStatsResponse>
Builder for
NodesStatsResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aNodesStatsResponse
.protected NodesStatsResponse.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.nodes.stats.ResponseBase.AbstractBuilder
clusterName, nodes, nodes, nodes
Methods inherited from class co.elastic.clients.elasticsearch.nodes.NodesResponseBase.AbstractBuilder
nodeStats, nodeStats
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
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classNodesResponseBase.AbstractBuilder<NodesStatsResponse.Builder>
-
build
Builds aNodesStatsResponse
.- Specified by:
build
in interfaceObjectBuilder<NodesStatsResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-