public RetryPolicyBuilder retryOnStatusCodes(int... statusCodes) {
        for (int statusCode : statusCodes) {
            this.statusCodes.add(statusCode);
        }
        return this;
    }
@param statusCodes HTTP status codes to retry on.
@return This object for method chaining.
aws-java-sdk-opensdk/src/main/java/com/amazonaws/opensdk/retry/RetryPolicyBuilder.java