public String getFormat() {
        return this.format;
    }
<p>
If the <code>Type</code> of document within the response is <code>ANSWER</code>, then it is either a
<code>TABLE</code> answer or <code>TEXT</code> answer. If it's a table answer, a table excerpt is returned in
<code>TableExcerpt</code>. If it's a text answer, a text excerpt is returned in <code>DocumentExcerpt</code>.
</p>

@return If the <code>Type</code> of document within the response is <code>ANSWER</code>, then it is either a
        <code>TABLE</code> answer or <code>TEXT</code> answer. If it's a table answer, a table excerpt is
        returned in <code>TableExcerpt</code>. If it's a text answer, a text excerpt is returned in
        <code>DocumentExcerpt</code>.
@see QueryResultFormat
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/QueryResultItem.java