Class NodesInfoRequest

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

public class NodesInfoRequest
extends RequestBase
Returns information about nodes in the cluster.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static NodesInfoRequest of​(java.util.function.Function<NodesInfoRequest.Builder,​ObjectBuilder<NodesInfoRequest>> fn)
    • flatSettings

      @Nullable public final java.lang.Boolean flatSettings()
      If true, returns settings in flat format.

      API name: flat_settings

    • masterTimeout

      @Nullable public final Time masterTimeout()
      Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.

      API name: master_timeout

    • metric

      public final java.util.List<java.lang.String> metric()
      Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.

      API name: metric

    • nodeId

      public final java.util.List<java.lang.String> nodeId()
      Comma-separated list of node IDs or names used to limit returned information.

      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