Class GetLicenseRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.GetLicenseRequest
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<GetLicenseRequest,
GetLicenseResponse, ErrorResponse> Endpoint "license.get
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Deprecated.7.6.0final Boolean
local()
Specifies whether to retrieve local information.static GetLicenseRequest
Methods 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
-