Class EnableUserRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.EnableUserRequest
All Implemented Interfaces:
ElasticsearchCommonRequest

public final class EnableUserRequest
extends RequestBase
  • Field Details

  • Constructor Details

  • Method Details

    • username

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

      API name: username

    • refresh

      @Nullable public jakarta.json.JsonValue 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