Class ElasticsearchMigrationClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.migration.ElasticsearchMigrationClient
public class ElasticsearchMigrationClient extends ApiClient
Client for the migration namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchMigrationClient(Transport transport)
-
Method Summary
Modifier and Type Method Description 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.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
-
ElasticsearchMigrationClient
-
-
Method Details
-
deprecations
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 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
-