Class DeletePrivilegesRequest

java.lang.Object
org.elasticsearch.client.security.DeletePrivilegesRequest
All Implemented Interfaces:
Validatable

public final class DeletePrivilegesRequest
extends java.lang.Object
implements Validatable
A request to delete application privileges
  • Constructor Details

    • DeletePrivilegesRequest

      public DeletePrivilegesRequest​(java.lang.String application, java.lang.String... privileges)
      Creates a new DeletePrivilegesRequest using the default RefreshPolicy.getDefault() refresh policy.
      Parameters:
      application - the name of the application for which the privileges will be deleted
      privileges - the privileges to delete
    • DeletePrivilegesRequest

      public DeletePrivilegesRequest​(java.lang.String application, java.lang.String[] privileges, @Nullable RefreshPolicy refreshPolicy)
      Parameters:
      application - the name of the application for which the privileges will be deleted
      privileges - the privileges to delete
      refreshPolicy - the refresh policy RefreshPolicy for the request, defaults to RefreshPolicy.getDefault()
  • Method Details

    • getApplication

      public java.lang.String getApplication()
    • getPrivileges

      public java.lang.String[] getPrivileges()
    • getRefreshPolicy

      public RefreshPolicy getRefreshPolicy()