Module org.elasticsearch.xcore
Class HasPrivilegesRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<HasPrivilegesRequest,HasPrivilegesResponse>
org.elasticsearch.xpack.core.security.action.user.HasPrivilegesRequestBuilder
- All Implemented Interfaces:
RequestBuilder<HasPrivilegesRequest,HasPrivilegesResponse>
public class HasPrivilegesRequestBuilder
extends ActionRequestBuilder<HasPrivilegesRequest,HasPrivilegesResponse>
Request builder for checking a user's privileges
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsource(String username, BytesReference source, org.elasticsearch.xcontent.XContentType xContentType)
-
Constructor Details
-
HasPrivilegesRequestBuilder
-
-
Method Details
-
username
-
source
public HasPrivilegesRequestBuilder source(String username, BytesReference source, org.elasticsearch.xcontent.XContentType xContentType) throws IOException - Throws:
IOException
-