Retry behaviour for uploads (mirrors the SDK's withRetry options).
withRetry
Optional
Initial delay before the first retry, in milliseconds
Decide whether a failure is worth retrying (default: network errors only)
Maximum retry attempts (default: 3)
Retry behaviour for uploads (mirrors the SDK's
withRetryoptions).