Class GetLicenseRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.GetLicenseRequest
Get license information. Get information about your Elastic license including
its type, its status, when it was issued, and when it expires.
NOTE: If the master node is generating a new cluster state, the get license
API may return a 404 Not Found response. If you receive an
unexpected 404 response after cluster startup, wait a short period and retry
the request.
- 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<GetLicenseRequest,GetLicenseResponse, ErrorResponse> Endpoint "license.get". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanDeprecated.7.6.0final Booleanlocal()Specifies whether to retrieve local information.static GetLicenseRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "license.get".
-
-
Method Details
-
of
public static GetLicenseRequest of(Function<GetLicenseRequest.Builder, ObjectBuilder<GetLicenseRequest>> fn) -
acceptEnterprise
Deprecated.7.6.0Iftrue, this parameter returns enterprise for Enterprise license types. Iffalse, this parameter returns platinum for both platinum and enterprise license types. This behavior is maintained for backwards compatibility. This parameter is deprecated and will always be set to true in 8.x.API name:
accept_enterprise -
local
Specifies whether to retrieve local information. The default value isfalse, which means the information is retrieved from the master node.API name:
local
-