Class ElasticsearchMigrationAsyncClient

java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.migration.ElasticsearchMigrationAsyncClient

public class ElasticsearchMigrationAsyncClient
extends ApiClient
Client for the migration namespace.
  • Constructor Details

    • ElasticsearchMigrationAsyncClient

      public ElasticsearchMigrationAsyncClient​(Transport transport)
  • Method Details

    • deprecations

      public java.util.concurrent.CompletableFuture<DeprecationsResponse> deprecations​(DeprecationsRequest request) throws java.io.IOException
      Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • deprecations

      public final java.util.concurrent.CompletableFuture<DeprecationsResponse> deprecations​(java.util.function.Function<DeprecationsRequest.Builder,​ObjectBuilder<DeprecationsRequest>> fn) throws java.io.IOException
      Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
      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