Class DeletePrivilegesRequest
java.lang.Object
org.elasticsearch.client.security.DeletePrivilegesRequest
- All Implemented Interfaces:
Validatable
A request to delete application privileges
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
ConstructorDescriptionDeletePrivilegesRequest
(String application, String... privileges) Creates a newDeletePrivilegesRequest
using the defaultRefreshPolicy.getDefault()
refresh policy.DeletePrivilegesRequest
(String application, String[] privileges, RefreshPolicy refreshPolicy) Creates a newDeletePrivilegesRequest
. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
DeletePrivilegesRequest
Creates a newDeletePrivilegesRequest
using the defaultRefreshPolicy.getDefault()
refresh policy.- Parameters:
application
- the name of the application for which the privileges will be deletedprivileges
- the privileges to delete
-
DeletePrivilegesRequest
public DeletePrivilegesRequest(String application, String[] privileges, @Nullable RefreshPolicy refreshPolicy) Creates a newDeletePrivilegesRequest
.- Parameters:
application
- the name of the application for which the privileges will be deletedprivileges
- the privileges to deleterefreshPolicy
- the refresh policyRefreshPolicy
for the request, defaults toRefreshPolicy.getDefault()
-
-
Method Details
-
getApplication
-
getPrivileges
-
getRefreshPolicy
-