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 Restrictionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRestrictionDeserializer
-