Annotation Interface FileTranslationEventHandlerInfo


@Target(TYPE) @Retention(RUNTIME) public @interface FileTranslationEventHandlerInfo
Indicates a class is a FileTranslationEventHandler and declares the API name by which the platform identifies it.

Apply this annotation to any class that implements FileTranslationEventHandler. The apiName() value is referenced in FileTranslationBatchRequest.Builder.withEventHandlerApiName(String) to route a completed translation run to the correct handler.

API names follow Vault SDK namespacing conventions:

  • __sys: reserved for platform-provided handlers
  • __v: standard or application handlers
  • __c: custom handlers defined by Vault customers
  • Element Details

    • apiName

      String apiName
      The unique API-style name for this FileTranslationEventHandler within the Vault. Must be unique across all handlers deployed to the Vault and must follow the Vault SDK namespacing conventions (__sys, __v, or __c).
      Returns:
      the API name of this handler. Cannot be null or empty.