Class GetServiceAccountCredentialsResponse
java.lang.Object
org.elasticsearch.client.security.GetServiceAccountCredentialsResponse
Response when requesting credentials of a service account.
-
Constructor Summary
ConstructorDescriptionGetServiceAccountCredentialsResponse(String principal, String nodeName, List<ServiceTokenInfo> serviceTokenInfos)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
int
hashCode()
-
Constructor Details
-
GetServiceAccountCredentialsResponse
public GetServiceAccountCredentialsResponse(String principal, String nodeName, List<ServiceTokenInfo> serviceTokenInfos)
-
-
Method Details
-
getPrincipal
-
getNodeName
-
getServiceTokenInfos
-
equals
-
hashCode
public int hashCode() -
fromXContent
public static GetServiceAccountCredentialsResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-