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 Summary

    Constructors
    Constructor Description
    GetApiKeyResponse​(java.util.List<ApiKey> foundApiKeysInfo)  
  • Method Summary

    Modifier and Type Method Description
    static GetApiKeyResponse emptyResponse()  
    boolean equals​(java.lang.Object obj)  
    static GetApiKeyResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)  
    java.util.List<ApiKey> getApiKeyInfos()  
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • GetApiKeyResponse

      public GetApiKeyResponse​(java.util.List<ApiKey> foundApiKeysInfo)
  • 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