Class GetLicenseRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.GetLicenseRequest
Retrieves licensing information for the cluster
- 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
If the active license is an enterprise license, return type as 'enterprise' (default: false)final Boolean
local()
Return local information, do not retrieve the state from master node (default: false)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
If the active license is an enterprise license, return type as 'enterprise' (default: false)API name:
accept_enterprise
-
local
Return local information, do not retrieve the state from master node (default: false)API name:
local
-