Class NodesUsageRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<NodesUsageRequest.Builder>
co.elastic.clients.elasticsearch.nodes.NodesUsageRequest.Builder
- All Implemented Interfaces:
- WithJson<NodesUsageRequest.Builder>,- ObjectBuilder<NodesUsageRequest>
- Enclosing class:
- NodesUsageRequest
public static class NodesUsageRequest.Builder
extends RequestBase.AbstractBuilder<NodesUsageRequest.Builder>
implements ObjectBuilder<NodesUsageRequest>
Builder for 
NodesUsageRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aNodesUsageRequest.Limits the information returned to the specific metrics.Limits the information returned to the specific metrics.A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesA comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesprotected NodesUsageRequest.Builderself()Period to wait for a response.Period to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
metricLimits the information returned to the specific metrics. A comma-separated list of the following options:_all,rest_actions.API name: metricAdds all elements of listtometric.
- 
metricLimits the information returned to the specific metrics. A comma-separated list of the following options:_all,rest_actions.API name: metricAdds one or more values to metric.
- 
nodeIdA comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesAPI name: node_idAdds all elements of listtonodeId.
- 
nodeIdA comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesAPI name: node_idAdds one or more values to nodeId.
- 
timeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
timeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<NodesUsageRequest.Builder>
 
- 
buildBuilds aNodesUsageRequest.- Specified by:
- buildin interface- ObjectBuilder<NodesUsageRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-