类 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) -
方法概要
修饰符和类型 方法 说明 booleanequals(java.lang.Object obj)static CreateApiKeyResponsefromXContent(org.easysearch.common.xcontent.XContentParser parser)java.time.InstantgetExpiration()java.lang.StringgetId()org.easysearch.common.settings.SecureStringgetKey()java.lang.StringgetName()inthashCode()从类继承的方法 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
-