public RetryStrategy newRetryStrategy(
      @RetryPolicy int policy, int initialBackoff, int maximumBackoff) {

    return retryStrategyBuilder.build(policy, initialBackoff, maximumBackoff);
  }
Creates a new RetryStrategy from the provided parameters, validated with the current driver's
{@link JobValidator}.

@param policy the backoff policy to use. One of the {@link RetryPolicy} constants.
@param initialBackoff the initial backoff, in seconds.
@param maximumBackoff the maximum backoff, in seconds.
@throws ValidationEnforcer.ValidationException
@see RetryStrategy
jobdispatcher/src/main/java/com/firebase/jobdispatcher/FirebaseJobDispatcher.java