Class DeleteRoleRequest


public class DeleteRoleRequest
extends RequestBase
Removes roles in the native realm.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static DeleteRoleRequest of​(java.util.function.Function<DeleteRoleRequest.Builder,​ObjectBuilder<DeleteRoleRequest>> fn)
    • name

      public final java.lang.String name()
      Required - Role name

      API name: name

    • refresh

      @Nullable public final Refresh refresh()
      If true (the default) then refresh the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false then do nothing with refreshes.

      API name: refresh