Class ElasticsearchShutdownClient

java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.shutdown.ElasticsearchShutdownClient

public class ElasticsearchShutdownClient
extends ApiClient
Client for the shutdown namespace.
  • Constructor Details

    • ElasticsearchShutdownClient

      public ElasticsearchShutdownClient​(Transport transport)
  • Method Details

    • deleteNode

      public DeleteNodeResponse deleteNode​(DeleteNodeRequest request) throws java.io.IOException
      Removes a node from the shutdown list. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • deleteNode

      public final DeleteNodeResponse deleteNode​(java.util.function.Function<DeleteNodeRequest.Builder,​ObjectBuilder<DeleteNodeRequest>> fn) throws java.io.IOException
      Removes a node from the shutdown list. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
      Parameters:
      fn - a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • getNode

      public GetNodeResponse getNode​(GetNodeRequest request) throws java.io.IOException
      Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • getNode

      public final GetNodeResponse getNode​(java.util.function.Function<GetNodeRequest.Builder,​ObjectBuilder<GetNodeRequest>> fn) throws java.io.IOException
      Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
      Parameters:
      fn - a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • putNode

      public PutNodeResponse putNode​(PutNodeRequest request) throws java.io.IOException
      Adds a node to be shut down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • putNode

      public final PutNodeResponse putNode​(java.util.function.Function<PutNodeRequest.Builder,​ObjectBuilder<PutNodeRequest>> fn) throws java.io.IOException
      Adds a node to be shut down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
      Parameters:
      fn - a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co