public void setRaw(RawMessage raw) {
        this.raw = raw;
    }
<p>
The raw email message. The message has to meet the following criteria:
</p>
<ul>
<li>
<p>
The message has to contain a header and a body, separated by one blank line.
</p>
</li>
<li>
<p>
All of the required header fields must be present in the message.
</p>
</li>
<li>
<p>
Each part of a multipart MIME message must be formatted properly.
</p>
</li>
<li>
<p>
If you include attachments, they must be in a file format that Amazon Pinpoint supports.
</p>
</li>
<li>
<p>
The entire message must be Base64 encoded.
</p>
</li>
<li>
<p>
If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you
should encode that content to ensure that recipients' email clients render the message properly.
</p>
</li>
<li>
<p>
The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined
in <a href="https://tools.ietf.org/html/rfc5321">RFC 5321</a>.
</p>
</li>
</ul>

@param raw
       The raw email message. The message has to meet the following criteria:</p>
       <ul>
       <li>
       <p>
       The message has to contain a header and a body, separated by one blank line.
       </p>
       </li>
       <li>
       <p>
       All of the required header fields must be present in the message.
       </p>
       </li>
       <li>
       <p>
       Each part of a multipart MIME message must be formatted properly.
       </p>
       </li>
       <li>
       <p>
       If you include attachments, they must be in a file format that Amazon Pinpoint supports.
       </p>
       </li>
       <li>
       <p>
       The entire message must be Base64 encoded.
       </p>
       </li>
       <li>
       <p>
       If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character
       range, you should encode that content to ensure that recipients' email clients render the message
       properly.
       </p>
       </li>
       <li>
       <p>
       The length of any single line of text in the message can't exceed 1,000 characters. This restriction is
       defined in <a href="https://tools.ietf.org/html/rfc5321">RFC 5321</a>.
       </p>
       </li>
aws-java-sdk-pinpointemail/src/main/java/com/amazonaws/services/pinpointemail/model/EmailContent.java