withBackoffMillis

fun withBackoffMillis(initialMillis: Long, maxMillis: Long): RetryPolicy(source)

A copy with both initialBackoff and maxBackoff changed, in milliseconds. Changed one at a time, they can fail on the way, when a new value passes the other's old one.