Class GetApiKeyRequest

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

public class GetApiKeyRequest
extends RequestBase
Retrieves information for one or more API keys.
See Also:
API specification
  • Field Details

  • Method Details

    • of

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

      @Nullable public final java.lang.String id()
      API key id of the API key to be retrieved

      API name: id

    • name

      @Nullable public final java.lang.String name()
      API key name of the API key to be retrieved

      API name: name

    • owner

      @Nullable public final java.lang.Boolean owner()
      flag to query API keys owned by the currently authenticated user

      API name: owner

    • realmName

      @Nullable public final java.lang.String realmName()
      realm name of the user who created this API key to be retrieved

      API name: realm_name

    • username

      @Nullable public final java.lang.String username()
      user name of the user who created this API key to be retrieved

      API name: username