Class PostStartBasicRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.PostStartBasicRequest
Start a basic license.
Start an indefinite basic license, which gives access to all the basic features.
NOTE: In order to start a basic license, you must not currently have a basic license.
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 get basic license API.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<PostStartBasicRequest,
PostStartBasicResponse, ErrorResponse> Endpoint "license.post_start_basic
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
whether the user has acknowledged acknowledge messages (default: false)final Time
Period to wait for a connection to the master node.static PostStartBasicRequest
final Time
timeout()
Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "license.post_start_basic
".
-
-
Method Details
-
of
public static PostStartBasicRequest of(Function<PostStartBasicRequest.Builder, ObjectBuilder<PostStartBasicRequest>> fn) -
acknowledge
whether the user has acknowledged acknowledge messages (default: false)API name:
acknowledge
-
masterTimeout
Period to wait for a connection to the master node.API name:
master_timeout
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-