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
  • Field Details

  • 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.0
      If true, this parameter returns enterprise for Enterprise license types. If false, 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 is false, which means the information is retrieved from the master node.

      API name: local