Class GetServiceAccountCredentialsResponse
java.lang.Object
org.elasticsearch.client.security.GetServiceAccountCredentialsResponse
Response when requesting credentials of a service account.
-
Constructor Summary
ConstructorDescriptionGetServiceAccountCredentialsResponse
(String principal, List<ServiceTokenInfo> indexTokenInfos, ServiceAccountCredentialsNodesResponse nodesResponse) -
Method Summary
-
Constructor Details
-
GetServiceAccountCredentialsResponse
public GetServiceAccountCredentialsResponse(String principal, List<ServiceTokenInfo> indexTokenInfos, ServiceAccountCredentialsNodesResponse nodesResponse)
-
-
Method Details
-
getPrincipal
-
getIndexTokenInfos
-
getNodesResponse
-
fromXContent
public static GetServiceAccountCredentialsResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-