Class QueryRole
java.lang.Object
co.elastic.clients.elasticsearch.security.RoleDescriptor
co.elastic.clients.elasticsearch.security.query_role.QueryRole
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.security.RoleDescriptor
RoleDescriptor.AbstractBuilder<BuilderT extends RoleDescriptor.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryRole>
Json deserializer forQueryRole
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
name()
Required - Name of the role.static QueryRole
protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final List<FieldValue>
sort()
API name:_sort
Methods inherited from class co.elastic.clients.elasticsearch.security.RoleDescriptor
applications, cluster, description, global, indices, metadata, remoteCluster, remoteIndices, restriction, roleDescriptorOf, runAs, serialize, setupRoleDescriptorDeserializer, toString, transientMetadata
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryRole
-
-
Method Details
-
of
-
sort
API name:_sort
-
name
Required - Name of the role.API name:
name
-
serializeInternal
- Overrides:
serializeInternal
in classRoleDescriptor
-
setupQueryRoleDeserializer
-