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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodesUsageRequest.Limit the information returned to the specified metricsLimit the information returned to the specified metricsA 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()Explicit operation timeoutExplicit operation timeoutMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metric
Limit the information returned to the specified metricsAPI name:
metricAdds all elements of
listtometric. -
metric
Limit the information returned to the specified metricsAPI name:
metricAdds one or more values to
metric. -
nodeId
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 nodesAPI name:
node_idAdds all elements of
listtonodeId. -
nodeId
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 nodesAPI name:
node_idAdds one or more values to
nodeId. -
timeout
Explicit operation timeoutAPI name:
timeout -
timeout
Explicit operation timeoutAPI name:
timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<NodesUsageRequest.Builder>
-
build
Builds aNodesUsageRequest.- Specified by:
buildin interfaceObjectBuilder<NodesUsageRequest>- Throws:
NullPointerException- if some of the required fields are null.
-