Class GetApiKeyResponse

java.lang.Object
org.elasticsearch.client.security.GetApiKeyResponse

public final class GetApiKeyResponse
extends java.lang.Object
Response for get API keys.
The result contains information about the API keys that were found.
  • Constructor Details

  • Method Details

    • emptyResponse

      public static GetApiKeyResponse emptyResponse()
    • getApiKeyInfos

      public java.util.List<ApiKey> getApiKeyInfos()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • fromXContent

      public static GetApiKeyResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object