public HandlerAfterAttemptContextBuilder withException(Exception exception) {
            this.exception = exception;

            return this;
        }
Fluent set for what the exception should be on the eventual HandlerAfterAttemptContext instance
@param exception exception generated by the request attempt, or null if the attempt was succcessful
@return the modified builder
aws-java-sdk-core/src/main/java/com/amazonaws/handlers/HandlerAfterAttemptContext.java