Class ElasticsearchMigrationAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchMigrationAsyncClient>
co.elastic.clients.elasticsearch.migration.ElasticsearchMigrationAsyncClient
public class ElasticsearchMigrationAsyncClient extends ApiClient<ElasticsearchTransport,ElasticsearchMigrationAsyncClient>
Client for the migration namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
Constructors Constructor Description ElasticsearchMigrationAsyncClient(ElasticsearchTransport transport)
ElasticsearchMigrationAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions)
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<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.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.java.util.concurrent.CompletableFuture<GetFeatureUpgradeStatusResponse>
getFeatureUpgradeStatus()
Find out whether system features need to be upgraded or notjava.util.concurrent.CompletableFuture<PostFeatureUpgradeResponse>
postFeatureUpgrade()
Begin upgrades for system featuresElasticsearchMigrationAsyncClient
withTransportOptions(TransportOptions transportOptions)
Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchMigrationAsyncClient
-
ElasticsearchMigrationAsyncClient
public ElasticsearchMigrationAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchMigrationAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions)Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,ElasticsearchMigrationAsyncClient>
-
deprecations
public 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.- See Also:
- Documentation on elastic.co
-
deprecations
public final 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.- Parameters:
fn
- a function that initializes a builder to create theDeprecationsRequest
- 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.- See Also:
- Documentation on elastic.co
-
getFeatureUpgradeStatus
public java.util.concurrent.CompletableFuture<GetFeatureUpgradeStatusResponse> getFeatureUpgradeStatus()Find out whether system features need to be upgraded or not- See Also:
- Documentation on elastic.co
-
postFeatureUpgrade
Begin upgrades for system features- See Also:
- Documentation on elastic.co
-