Class GetNodeRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.shutdown.GetNodeRequest

public class GetNodeRequest extends RequestBase
Get the shutdown status.

Get information about nodes that are ready to be shut down, have shut down preparations still in progress, or have stalled. The API returns status information for each part of the shut down process.

NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.

If the operator privileges feature is enabled, you must be an operator to use this API.

See Also:
  • Field Details

  • Method Details

    • of

    • masterTimeout

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

    • nodeId

      public final List<String> nodeId()
      Which node for which to retrieve the shutdown status

      API name: node_id

    • timeout

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