Class DeleteRoleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeleteRoleRequest
Removes roles in the native realm.
- 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<DeleteRoleRequest,DeleteRoleResponse, ErrorResponse> Endpoint "security.delete_role". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringname()Required - Role namestatic DeleteRoleRequestfinal 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
Endpoint "security.delete_role".
-
-
Method Details
-
of
public static DeleteRoleRequest of(Function<DeleteRoleRequest.Builder, ObjectBuilder<DeleteRoleRequest>> fn) -
name
Required - Role 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
-