Class ElasticsearchLicenseAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchLicenseAsyncClient>
co.elastic.clients.elasticsearch.license.ElasticsearchLicenseAsyncClient
public class ElasticsearchLicenseAsyncClient
extends ApiClient<ElasticsearchTransport,ElasticsearchLicenseAsyncClient>
Client for the license namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchLicenseAsyncClient
(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptiondelete()
Deletes licensing information for the clusterget()
This API returns information about the type of license, when it was issued, and when it expires, for example.get
(GetLicenseRequest request) This API returns information about the type of license, when it was issued, and when it expires, for example.This API returns information about the type of license, when it was issued, and when it expires, for example.Retrieves information about the status of the basic license.Retrieves information about the status of the trial license.post()
Updates the license for the cluster.post
(PostRequest request) Updates the license for the cluster.final CompletableFuture<PostResponse>
Updates the license for the cluster.The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features.postStartBasic
(PostStartBasicRequest request) The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features.The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features.The start trial API enables you to start a 30-day trial, which gives access to all subscription features.postStartTrial
(PostStartTrialRequest request) The start trial API enables you to start a 30-day trial, which gives access to all subscription features.The start trial API enables you to start a 30-day trial, which gives access to all subscription features.withTransportOptions
(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializer, withTransportOptions
-
Constructor Details
-
ElasticsearchLicenseAsyncClient
-
ElasticsearchLicenseAsyncClient
public ElasticsearchLicenseAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchLicenseAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,
ElasticsearchLicenseAsyncClient>
-
delete
Deletes licensing information for the cluster- See Also:
-
get
This API returns information about the type of license, when it was issued, and when it expires, for example. For more information about the different types of licenses, see https://www.elastic.co/subscriptions.- See Also:
-
get
public final CompletableFuture<GetLicenseResponse> get(Function<GetLicenseRequest.Builder, ObjectBuilder<GetLicenseRequest>> fn) This API returns information about the type of license, when it was issued, and when it expires, for example. For more information about the different types of licenses, see https://www.elastic.co/subscriptions.- Parameters:
fn
- a function that initializes a builder to create theGetLicenseRequest
- See Also:
-
get
This API returns information about the type of license, when it was issued, and when it expires, for example. For more information about the different types of licenses, see https://www.elastic.co/subscriptions.- See Also:
-
getBasicStatus
Retrieves information about the status of the basic license.- See Also:
-
getTrialStatus
Retrieves information about the status of the trial license.- See Also:
-
post
Updates the license for the cluster.- See Also:
-
post
public final CompletableFuture<PostResponse> post(Function<PostRequest.Builder, ObjectBuilder<PostRequest>> fn) Updates the license for the cluster.- Parameters:
fn
- a function that initializes a builder to create thePostRequest
- See Also:
-
post
Updates the license for the cluster.- See Also:
-
postStartBasic
The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features. If the basic license does not support all of the features that are available with your current license, however, you are notified in the response. You must then re-submit the API request with the acknowledge parameter set to true. To check the status of your basic license, use the following API: Get basic status.- See Also:
-
postStartBasic
public final CompletableFuture<PostStartBasicResponse> postStartBasic(Function<PostStartBasicRequest.Builder, ObjectBuilder<PostStartBasicRequest>> fn) The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features. If the basic license does not support all of the features that are available with your current license, however, you are notified in the response. You must then re-submit the API request with the acknowledge parameter set to true. To check the status of your basic license, use the following API: Get basic status.- Parameters:
fn
- a function that initializes a builder to create thePostStartBasicRequest
- See Also:
-
postStartBasic
The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features. If the basic license does not support all of the features that are available with your current license, however, you are notified in the response. You must then re-submit the API request with the acknowledge parameter set to true. To check the status of your basic license, use the following API: Get basic status.- See Also:
-
postStartTrial
The start trial API enables you to start a 30-day trial, which gives access to all subscription features.- See Also:
-
postStartTrial
public final CompletableFuture<PostStartTrialResponse> postStartTrial(Function<PostStartTrialRequest.Builder, ObjectBuilder<PostStartTrialRequest>> fn) The start trial API enables you to start a 30-day trial, which gives access to all subscription features.- Parameters:
fn
- a function that initializes a builder to create thePostStartTrialRequest
- See Also:
-
postStartTrial
The start trial API enables you to start a 30-day trial, which gives access to all subscription features.- See Also:
-