Class DeleteUserRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteUserRequest.Builder>
co.elastic.clients.elasticsearch.security.DeleteUserRequest.Builder
- All Implemented Interfaces:
- WithJson<DeleteUserRequest.Builder>,- ObjectBuilder<DeleteUserRequest>
- Enclosing class:
- DeleteUserRequest
public static class DeleteUserRequest.Builder
extends RequestBase.AbstractBuilder<DeleteUserRequest.Builder>
implements ObjectBuilder<DeleteUserRequest>
Builder for 
DeleteUserRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aDeleteUserRequest.Iftrue(the default) then refresh the affected shards to make this operation visible to search, ifwait_forthen wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.protected DeleteUserRequest.Builderself()Required - An identifier for the user.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
refreshIftrue(the default) then refresh the affected shards to make this operation visible to search, ifwait_forthen wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.API name: refresh
- 
usernameRequired - An identifier for the user.API name: username
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<DeleteUserRequest.Builder>
 
- 
buildBuilds aDeleteUserRequest.- Specified by:
- buildin interface- ObjectBuilder<DeleteUserRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-