Class Restriction
java.lang.Object
co.elastic.clients.elasticsearch.security.Restriction
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Restriction>
Json deserializer forRestriction
-
Method Summary
Modifier and TypeMethodDescriptionstatic Restriction
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
Required - A list of workflows to which the API key is restricted.
-
Field Details
-
_DESERIALIZER
Json deserializer forRestriction
-
-
Method Details
-
of
-
workflows
Required - A list of workflows to which the API key is restricted. NOTE: In order to use a role restriction, an API key must be created with a single role descriptor.API name:
workflows
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRestrictionDeserializer
-