Class DeletePrivilegesRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeletePrivilegesRequest
Removes application privileges.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<DeletePrivilegesRequest,DeletePrivilegesResponse, ErrorResponse> Endpoint "security.delete_privileges". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - Application namefinal Stringname()Required - Privilege namestatic DeletePrivilegesRequestfinal Refreshrefresh()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.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeletePrivilegesRequest,DeletePrivilegesResponse, _ENDPOINTErrorResponse> Endpoint "security.delete_privileges".
-
-
Method Details
-
of
public static DeletePrivilegesRequest of(Function<DeletePrivilegesRequest.Builder, ObjectBuilder<DeletePrivilegesRequest>> fn) -
application
Required - Application nameAPI name:
application -
name
Required - Privilege nameAPI name:
name -
refresh
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.API name:
refresh
-