break;
case "maxBackoffSeconds":
retryOptions.maxBackoffSeconds(((Number)option.getValue()).intValue());
break;
case "maxDoublings":
retryOptions.maxDoublings(((Number)option.getValue()).intValue());
break;
default:
throw new RuntimeException(option.getKey() + " is not a valid retry option parameter.");
}
}