Class GetLicenseRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.GetLicenseRequest
public class GetLicenseRequest extends RequestBase
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:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetLicenseRequest.Builder
Builder forGetLicenseRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetLicenseRequest,GetLicenseResponse,ErrorResponse>
_ENDPOINT
Endpoint "license.get
". -
Method Summary
Modifier and Type Method Description java.lang.Boolean
acceptEnterprise()
Deprecated.7.6.0java.lang.Boolean
local()
Specifies whether to retrieve local information.static GetLicenseRequest
of(java.util.function.Function<GetLicenseRequest.Builder,ObjectBuilder<GetLicenseRequest>> fn)
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "license.get
".
-
-
Method Details
-
of
public static GetLicenseRequest of(java.util.function.Function<GetLicenseRequest.Builder,ObjectBuilder<GetLicenseRequest>> fn) -
acceptEnterprise
@Deprecated @Nullable public final java.lang.Boolean 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
@Nullable public final java.lang.Boolean local()Specifies whether to retrieve local information. The default value isfalse
, which means the information is retrieved from the master node.API name:
local
-