public void setBlob(java.nio.ByteBuffer blob) {
        this.blob = 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>
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
Users of the SDK should not perform Base64 encoding on this field.
</p>
<p>
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will
be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or
ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future
major version of the SDK.
</p>

@param blob
       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