/** * <p> * Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified * notification type. A value of <code>true</code> specifies that Amazon SES will include headers in notifications, * and a value of <code>false</code> specifies that Amazon SES will not include headers in notifications. * </p> * <p> * This value can only be set when <code>NotificationType</code> is already set to use a particular Amazon SNS * topic. * </p> * * @param enabled * Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified * notification type. A value of <code>true</code> specifies that Amazon SES will include headers in * notifications, and a value of <code>false</code> specifies that Amazon SES will not include headers in * notifications.</p> * <p> * This value can only be set when <code>NotificationType</code> is already set to use a particular Amazon * SNS topic. * @return Returns a reference to this object so that method calls can be chained together. */ public SetIdentityHeadersInNotificationsEnabledRequest withEnabled(Boolean enabled) { setEnabled(enabled); return this; }
/** * <p> * Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified * notification type. A value of <code>true</code> specifies that Amazon SES will include headers in notifications, * and a value of <code>false</code> specifies that Amazon SES will not include headers in notifications. * </p> * <p> * This value can only be set when <code>NotificationType</code> is already set to use a particular Amazon SNS * topic. * </p> * * @param enabled * Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified * notification type. A value of <code>true</code> specifies that Amazon SES will include headers in * notifications, and a value of <code>false</code> specifies that Amazon SES will not include headers in * notifications.</p> * <p> * This value can only be set when <code>NotificationType</code> is already set to use a particular Amazon * SNS topic. * @return Returns a reference to this object so that method calls can be chained together. */ public SetIdentityHeadersInNotificationsEnabledRequest withEnabled(Boolean enabled) { setEnabled(enabled); return this; }