Class CreateApiKeyResponse
java.lang.Object
org.elasticsearch.client.security.CreateApiKeyResponse
Response for create API key
-
Constructor Summary
ConstructorsConstructorDescriptionCreateApiKeyResponse(String name, String id, org.elasticsearch.common.settings.SecureString key, Instant expiration) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateApiKeyResponsefromXContent(org.elasticsearch.common.xcontent.XContentParser parser)getId()org.elasticsearch.common.settings.SecureStringgetKey()getName()inthashCode()
-
Constructor Details
-
CreateApiKeyResponse
-
-
Method Details
-
getName
-
getId
-
getKey
public org.elasticsearch.common.settings.SecureString getKey() -
getExpiration
-
hashCode
public int hashCode() -
equals
-
fromXContent
public static CreateApiKeyResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-