public void setHeaders(java.util.Collection<MessageHeader> headers) {
        if (headers == null) {
            this.headers = null;
            return;
        }

        this.headers = new java.util.ArrayList<MessageHeader>(headers);
    }
<p>
The list of <a href=
"https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id.html#apps-application-id-campaigns-campaign-id-model-messageheader"
>MessageHeaders</a> for the email. You can have up to 15 MessageHeaders for each email.
</p>

@param headers
       The list of <a href=
       "https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-campaigns-campaign-id.html#apps-application-id-campaigns-campaign-id-model-messageheader"
       >MessageHeaders</a> for the email. You can have up to 15 MessageHeaders for each email.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/CampaignEmailMessage.java