public Span withEnd(Integer end) {
        setEnd(end);
        return this;
    }
<p>
Where the text with a citation ends in the generated output.
</p>

@param end
       Where the text with a citation ends in the generated output.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/Span.java