Class CreateApiKeyResponse
java.lang.Object
org.elasticsearch.client.security.CreateApiKeyResponse
Response for create API key
-
Constructor Summary
ConstructorDescriptionCreateApiKeyResponse
(String name, String id, SecureString key, Instant expiration) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CreateApiKeyResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) getId()
getKey()
getName()
int
hashCode()
-
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
-