public String getText() {
        return this.text;
    }
<p>
The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q chat
response.
</p>

@return The relevant text excerpt from a source that was used to generate a citation text segment in an Amazon Q
        chat response.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/SnippetExcerpt.java