Class DeletePrivilegesRequest

  • All Implemented Interfaces:
    Validatable

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

      • 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 Detail

      • getApplication

        public java.lang.String getApplication()
      • getPrivileges

        public java.lang.String[] getPrivileges()