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.get_repositories_metering_info.ResponseBase.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
GetRepositoriesMeteringInfoResponse.Builder
- Enclosing class:
- ResponseBase
protected abstract static class ResponseBase.AbstractBuilder<BuilderT extends ResponseBase.AbstractBuilder<BuilderT>> extends NodesResponseBase.AbstractBuilder<BuilderT>
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder()
-
Method Summary
Modifier and Type Method Description BuilderT
clusterName(java.lang.String value)
Required - Name of the cluster.BuilderT
nodes(java.lang.String key, RepositoryMeteringInformation value)
Required - Contains repositories metering information for the nodes selected by the request.BuilderT
nodes(java.lang.String key, java.util.function.Function<RepositoryMeteringInformation.Builder,ObjectBuilder<RepositoryMeteringInformation>> fn)
Required - Contains repositories metering information for the nodes selected by the request.BuilderT
nodes(java.util.Map<java.lang.String,RepositoryMeteringInformation> map)
Required - Contains repositories metering information for the nodes selected by the request.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
clusterName
Required - Name of the cluster. Based on the Cluster name setting.API name:
cluster_name
-
nodes
Required - Contains repositories metering information for the nodes selected by the request.API name:
nodes
Adds all entries of
map
tonodes
. -
nodes
Required - Contains repositories metering information for the nodes selected by the request.API name:
nodes
Adds an entry to
nodes
. -
nodes
public final BuilderT nodes(java.lang.String key, java.util.function.Function<RepositoryMeteringInformation.Builder,ObjectBuilder<RepositoryMeteringInformation>> fn)Required - Contains repositories metering information for the nodes selected by the request.API name:
nodes
Adds an entry to
nodes
using a builder lambda.
-