Job Entity: How to set a custom failed job retry cycle?

Consider:

val expression = commandContext.processEngineConfiguration.expressionManager.createExpression("PT1M")
val timer = TimerEntity(TimerDeclarationImpl(expression, TimerDeclarationType.DATE, "some-job"))
timer.jobHandlerType = "some-job"

val config = MyJobHandlerConfig(myClass)
timer.jobHandlerConfiguration = config

commandContext.jobManager.insert(timer)

How can a custom job implement a customized failed job retry cycle for the specific job? (not the global engine setting)

Related: https://jira.camunda.com/browse/CAM-12515