Class DeleteUserRequest.Builder

java.lang.Object
co.elastic.clients.elasticsearch.security.DeleteUserRequest.Builder
All Implemented Interfaces:
ObjectBuilder<DeleteUserRequest>
Enclosing class:
DeleteUserRequest

public static class DeleteUserRequest.Builder
extends java.lang.Object
implements ObjectBuilder<DeleteUserRequest>
Builder for DeleteUserRequest.
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    DeleteUserRequest build()
    DeleteUserRequest.Builder refresh​(jakarta.json.JsonValue 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.
    DeleteUserRequest.Builder username​(java.lang.String value)
    Required - username

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • username

      public DeleteUserRequest.Builder username​(java.lang.String value)
      Required - username

      API name: username

    • refresh

      public DeleteUserRequest.Builder refresh​(@Nullable jakarta.json.JsonValue 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

    • build

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