Class GetRoleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.GetRoleRequest
The role management APIs are generally the preferred way to manage roles,
rather than using file-based role management. The get roles API cannot
retrieve roles that are defined in roles files.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<GetRoleRequest,
GetRoleResponse, ErrorResponse> Endpoint "security.get_role
". -
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "security.get_role
".
-
-
Method Details
-
of
-
name
The name of the role. You can specify multiple roles as a comma-separated list. If you do not specify this parameter, the API returns information about all roles.API name:
name
-