Class DeletePrivilegesRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.security.DeletePrivilegesRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeletePrivilegesRequest>
- Enclosing class:
- DeletePrivilegesRequest
public static class DeletePrivilegesRequest.Builder extends java.lang.Object implements ObjectBuilder<DeletePrivilegesRequest>
Builder for
DeletePrivilegesRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DeletePrivilegesRequest.Builder
application(java.lang.String value)
Application nameDeletePrivilegesRequest
build()
Builds aDeletePrivilegesRequest
.DeletePrivilegesRequest.Builder
name(java.lang.String value)
Privilege nameDeletePrivilegesRequest.Builder
refresh(jakarta.json.JsonValue value)
Iftrue
(the default) then refresh the affected shards to make this operation visible to search, ifwait_for
then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.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
-
application
Application nameAPI name:
application
-
name
Privilege nameAPI name:
name
-
refresh
Iftrue
(the default) then refresh the affected shards to make this operation visible to search, ifwait_for
then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.API name:
refresh
-
build
Builds aDeletePrivilegesRequest
.- Specified by:
build
in interfaceObjectBuilder<DeletePrivilegesRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-