public String getContentType() {
        return this.contentType;
    }
<p>
The file type of the document in the <code>Blob</code> field.
</p>
<p>
If you want to index snippets or subsets of HTML documents instead of the entirety of the HTML documents, you
must add the <code>HTML</code> start and closing tags (<code>&lt;HTML&gt;content&lt;/HTML&gt;</code>) around the
content.
</p>

@return The file type of the document in the <code>Blob</code> field.</p>
        <p>
        If you want to index snippets or subsets of HTML documents instead of the entirety of the HTML documents,
        you must add the <code>HTML</code> start and closing tags (<code>&lt;HTML&gt;content&lt;/HTML&gt;</code>)
        around the content.
@see ContentType
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/Document.java