Class DisableUserRequest.Builder

All Implemented Interfaces:
Enclosing class:

public static class DisableUserRequest.Builder
extends ObjectBuilderBase
implements ObjectBuilder<DisableUserRequest>
Builder for DisableUserRequest.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • refresh

      public final DisableUserRequest.Builder refresh​(@Nullable Refresh value)
      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 DisableUserRequest.Builder username​(java.lang.String value)
      Required - The username of the user to disable

      API name: username

    • build

      public DisableUserRequest build()
      Specified by:
      build in interface ObjectBuilder<DisableUserRequest>
      java.lang.NullPointerException - if some of the required fields are null.