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
Modifier and TypeMethodDescriptionfromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
-
Constructor Details
-
GetServiceAccountCredentialsResponse
public GetServiceAccountCredentialsResponse(String principal, List<ServiceTokenInfo> indexTokenInfos, ServiceAccountCredentialsNodesResponse nodesResponse)
-
-
Method Details
-
getPrincipal
-
getIndexTokenInfos
-
getNodesResponse
-
fromXContent
public static GetServiceAccountCredentialsResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-