Class ElasticsearchMigrationClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchMigrationClient>
co.elastic.clients.elasticsearch.migration.ElasticsearchMigrationClient
public class ElasticsearchMigrationClient extends ApiClient<ElasticsearchTransport,ElasticsearchMigrationClient>
Client for the migration namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
Constructors Constructor Description ElasticsearchMigrationClient(ElasticsearchTransport transport)
ElasticsearchMigrationClient(ElasticsearchTransport transport, TransportOptions transportOptions)
-
Method Summary
Modifier and Type Method Description DeprecationsResponse
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.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.ElasticsearchMigrationClient
withTransportOptions(TransportOptions transportOptions)
Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_transport, _transportOptions, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchMigrationClient
-
ElasticsearchMigrationClient
public ElasticsearchMigrationClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchMigrationClient withTransportOptions(@Nullable TransportOptions transportOptions)Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,ElasticsearchMigrationClient>
-
deprecations
public DeprecationsResponse deprecations(DeprecationsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves 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
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deprecations
public final DeprecationsResponse deprecations(java.util.function.Function<DeprecationsRequest.Builder,ObjectBuilder<DeprecationsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves 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 builder to create theDeprecationsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
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
ElasticsearchException
- See Also:
- Documentation on elastic.co
-