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.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchMigrationAsyncClient(Transport transport)
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<DeprecationsResponse>
deprecations(DeprecationsRequest request)
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.java.util.concurrent.CompletableFuture<DeprecationsResponse>
deprecations(java.util.function.Function<DeprecationsRequest.Builder,ObjectBuilder<DeprecationsRequest>> fn)
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.Methods inherited from class co.elastic.clients.base.ApiClient
_transport, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchMigrationAsyncClient
-
-
Method Details
-
deprecations
public java.util.concurrent.CompletableFuture<DeprecationsResponse> deprecations(DeprecationsRequest request) throws java.io.IOExceptionRetrieves 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.IOExceptionRetrieves 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
-