Class NodesUsageRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.nodes.NodesUsageRequest

public class NodesUsageRequest extends RequestBase
Returns information on the usage of features.
See Also:
  • Field Details

  • Method Details

    • of

    • metric

      public final List<String> metric()
      Limits the information returned to the specific metrics. A comma-separated list of the following options: _all, rest_actions.

      API name: metric

    • nodeId

      public final List<String> 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 nodes

      API name: node_id

    • timeout

      @Nullable public final Time 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