public CodeErrorLocation withSpan(Integer span) {
        setSpan(span);
        return this;
    }
<p>
The span/length of the error. Defaults to <code>-1</code> if unknown.
</p>

@param span
       The span/length of the error. Defaults to <code>-1</code> if unknown.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/CodeErrorLocation.java