if (value instanceof Map) {
RetryOptions retryOptions = RetryOptions.Builder.withDefaults();
for (Entry<String, Object> option : ((Map<String, Object>)value).entrySet()) {
switch (option.getKey()) {
case "taskRetryLimit":
retryOptions.taskRetryLimit(((Number)option.getValue()).intValue());
break;
case "taskAgeLimitSeconds":
retryOptions.taskAgeLimitSeconds(((Number)option.getValue()).intValue());
break;
case "minBackoffSeconds":