类 CreateApiKeyResponse

java.lang.Object
org.easysearch.client.security.CreateApiKeyResponse

public final class CreateApiKeyResponse
extends java.lang.Object
Response for create API key
  • 构造器概要

    构造器
    构造器 说明
    CreateApiKeyResponse​(java.lang.String name, java.lang.String id, org.easysearch.common.settings.SecureString key, java.time.Instant expiration)  
  • 方法概要

    修饰符和类型 方法 说明
    boolean equals​(java.lang.Object obj)  
    static CreateApiKeyResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser)  
    java.time.Instant getExpiration()  
    java.lang.String getId()  
    org.easysearch.common.settings.SecureString getKey()  
    java.lang.String getName()  
    int hashCode()  

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • CreateApiKeyResponse

      public CreateApiKeyResponse​(java.lang.String name, java.lang.String id, org.easysearch.common.settings.SecureString key, java.time.Instant expiration)
  • 方法详细资料

    • getName

      public java.lang.String getName()
    • getId

      public java.lang.String getId()
    • getKey

      public org.easysearch.common.settings.SecureString getKey()
    • getExpiration

      @Nullable public java.time.Instant getExpiration()
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      覆盖:
      equals 在类中 java.lang.Object
    • fromXContent

      public static CreateApiKeyResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException
      抛出:
      java.io.IOException