Class DeletePrivilegesRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeletePrivilegesRequest.Builder>
co.elastic.clients.elasticsearch.security.DeletePrivilegesRequest.Builder
- All Implemented Interfaces:
- WithJson<DeletePrivilegesRequest.Builder>,- ObjectBuilder<DeletePrivilegesRequest>
- Enclosing class:
- DeletePrivilegesRequest
public static class DeletePrivilegesRequest.Builder
extends RequestBase.AbstractBuilder<DeletePrivilegesRequest.Builder>
implements ObjectBuilder<DeletePrivilegesRequest>
Builder for 
DeletePrivilegesRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapplication(String value) Required - The name of the application.build()Builds aDeletePrivilegesRequest.Required - The name of the privilege.Required - The name of the privilege.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 DeletePrivilegesRequest.Builderself()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- 
applicationRequired - The name of the application. Application privileges are always associated with exactly one application.API name: application
- 
nameRequired - The name of the privilege.API name: nameAdds all elements of listtoname.
- 
nameRequired - The name of the privilege.API name: nameAdds one or more values to name.
- 
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
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<DeletePrivilegesRequest.Builder>
 
- 
buildBuilds aDeletePrivilegesRequest.- Specified by:
- buildin interface- ObjectBuilder<DeletePrivilegesRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-