public void collect(AmazonWebServiceRequest originalRequest,
                AmazonClientException exception, int retriesAttempted) {
            failedRequests.add(originalRequest);
            exceptions.add(exception);
            retriesAttemptedValues.add(retriesAttempted);
        }
The retry condition and back-off strategy implementations that record all
the context data passed into shouldRetry and calculateSleepTime methods.
aws-java-sdk-core/src/test/java/com/amazonaws/retry/RetryPolicyTestBase.java