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