public Message withHeaders(java.util.Collection<MessageHeader> headers) {
        setHeaders(headers);
        return this;
    }
<p>
The list of message headers that will be added to the email message.
</p>

@param headers
       The list of message headers that will be added to the email message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/Message.java