Class NodesUsageRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.nodes.NodesUsageRequest
Returns information on the usage of features.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<NodesUsageRequest,
NodesUsageResponse, ErrorResponse> Endpoint "nodes.usage
". -
Method Summary
Modifier and TypeMethodDescriptionmetric()
Limits the information returned to the specific metrics.nodeId()
A comma-separated list of node IDs or names to limit the returned information; use_local
to return information from the node you're connecting to, leave empty to get information from all nodesstatic NodesUsageRequest
final Time
timeout()
Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "nodes.usage
".
-
-
Method Details
-
of
public static NodesUsageRequest of(Function<NodesUsageRequest.Builder, ObjectBuilder<NodesUsageRequest>> fn) -
metric
Limits the information returned to the specific metrics. A comma-separated list of the following options:_all
,rest_actions
.API name:
metric
-
nodeId
A comma-separated list of node IDs or names to limit the returned information; use_local
to return information from the node you're connecting to, leave empty to get information from all nodesAPI name:
node_id
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-