Class DeletePrivilegesRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeletePrivilegesRequest
public class DeletePrivilegesRequest extends RequestBase
Removes application privileges.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeletePrivilegesRequest.Builder
Builder forDeletePrivilegesRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<DeletePrivilegesRequest,DeletePrivilegesResponse,ErrorResponse>
_ENDPOINT
Endpoint "security.delete_privileges
". -
Method Summary
Modifier and Type Method Description java.lang.String
application()
Required - Application namejava.util.List<java.lang.String>
name()
Required - Privilege namestatic DeletePrivilegesRequest
of(java.util.function.Function<DeletePrivilegesRequest.Builder,ObjectBuilder<DeletePrivilegesRequest>> fn)
Refresh
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.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeletePrivilegesRequest,DeletePrivilegesResponse,ErrorResponse> _ENDPOINTEndpoint "security.delete_privileges
".
-
-
Method Details
-
of
public static DeletePrivilegesRequest of(java.util.function.Function<DeletePrivilegesRequest.Builder,ObjectBuilder<DeletePrivilegesRequest>> fn) -
application
public final java.lang.String application()Required - Application nameAPI name:
application
-
name
public final java.util.List<java.lang.String> name()Required - 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
-