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
ConstructorsConstructorDescriptionDeletePrivilegesRequest(String application, String... privileges) Creates a newDeletePrivilegesRequestusing 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, waitMethods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
DeletePrivilegesRequest
Creates a newDeletePrivilegesRequestusing 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 policyRefreshPolicyfor the request, defaults toRefreshPolicy.getDefault()
-
-
Method Details
-
getApplication
-
getPrivileges
-
getRefreshPolicy
-