Class GetUserPrivilegesRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.GetUserPrivilegesRequest

public class GetUserPrivilegesRequest
extends RequestBase
Retrieves security privileges for the logged in user.
See Also:
API specification
  • Field Details

  • Method Details

    • of

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

      @Nullable public final java.lang.String application()
      The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.

      API name: application

    • priviledge

      @Nullable public final java.lang.String priviledge()
      The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.

      API name: priviledge