httpStatusCodes

public abstract HttpRetryOptions.Builder httpStatusCodes(List<Integer> httpStatusCodes)
@CanIgnoreReturnValue()
public HttpRetryOptions.Builder httpStatusCodes(Array<Integer> httpStatusCodes)

Setter for httpStatusCodes.

httpStatusCodes: List of HTTP status codes that should trigger a retry. If not specified, a default set of retryable codes (408, 429, and 5xx) may be used.