Class GetLicenseRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.GetLicenseRequest

public class GetLicenseRequest
extends RequestBase
Retrieves licensing information for the cluster
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static GetLicenseRequest of​(java.util.function.Function<GetLicenseRequest.Builder,​ObjectBuilder<GetLicenseRequest>> fn)
    • acceptEnterprise

      @Nullable public final java.lang.Boolean acceptEnterprise()
      If the active license is an enterprise license, return type as 'enterprise' (default: false)

      API name: accept_enterprise

    • local

      @Nullable public final java.lang.Boolean local()
      Return local information, do not retrieve the state from master node (default: false)

      API name: local