Class EnableUserRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.EnableUserRequest

public class EnableUserRequest
extends RequestBase
Enables users in the native realm.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static EnableUserRequest of​(java.util.function.Function<EnableUserRequest.Builder,​ObjectBuilder<EnableUserRequest>> fn)
    • 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

    • username

      public final java.lang.String username()
      Required - The username of the user to enable

      API name: username