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