public java.nio.ByteBuffer getBlob() {
        return this.blob;
    }
<p>
The contents of the document.
</p>
<p>
Documents passed to the <code>Blob</code> parameter must be base64 encoded. Your code might not need to encode
the document file bytes if you're using an Amazon Web Services SDK to call Amazon Kendra APIs. If you are calling
the Amazon Kendra endpoint directly using REST, you must base64 encode the contents before sending.
</p>
<p>
{@code ByteBuffer}s are stateful. Calling their {@code get} methods changes their {@code position}. We recommend
using {@link java.nio.ByteBuffer#asReadOnlyBuffer()} to create a read-only view of the buffer with an independent
{@code position}, and calling {@code get} methods on this rather than directly on the returned {@code ByteBuffer}.
Doing so will ensure that anyone else using the {@code ByteBuffer} will not be affected by changes to the
{@code position}.
</p>

@return The contents of the document. </p>
        <p>
        Documents passed to the <code>Blob</code> parameter must be base64 encoded. Your code might not need to
        encode the document file bytes if you're using an Amazon Web Services SDK to call Amazon Kendra APIs. If
        you are calling the Amazon Kendra endpoint directly using REST, you must base64 encode the contents
        before sending.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/Document.java