/**
  * The action that Amazon SES takes if it cannot successfully read the required MX record when you
  * send an email. A value of <code>UseDefaultValue</code> indicates that if Amazon SES cannot read
  * the required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain.
  * A value of <code>RejectMessage</code> indicates that if Amazon SES cannot read the required MX
  * record, Amazon SES returns a <code>MailFromDomainNotVerified</code> error and does not send the
  * email.
  *
  * <p>The custom MAIL FROM setup states that result in this behavior are <code>Pending</code>,
  * <code>Failed</code>, and <code>TemporaryFailure</code>.
  *
  * <p>Returns a reference to this object so that method calls can be chained together.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>UseDefaultValue, RejectMessage
  *
  * @param behaviorOnMXFailure
  *     <p>The action that Amazon SES takes if it cannot successfully read the required MX record
  *     when you send an email. A value of <code>UseDefaultValue</code> indicates that if Amazon
  *     SES cannot read the required MX record, it uses amazonses.com (or a subdomain of that) as
  *     the MAIL FROM domain. A value of <code>RejectMessage</code> indicates that if Amazon SES
  *     cannot read the required MX record, Amazon SES returns a <code>MailFromDomainNotVerified
  *     </code> error and does not send the email.
  *     <p>The custom MAIL FROM setup states that result in this behavior are <code>Pending</code>,
  *     <code>Failed</code>, and <code>TemporaryFailure</code>.
  * @return A reference to this updated object so that method calls can be chained together.
  * @see BehaviorOnMXFailure
  */
 public IdentityMailFromDomainAttributes withBehaviorOnMXFailure(
     BehaviorOnMXFailure behaviorOnMXFailure) {
   this.behaviorOnMXFailure = behaviorOnMXFailure.toString();
   return this;
 }
 /**
  * The action that Amazon SES takes if it cannot successfully read the required MX record when you
  * send an email. A value of <code>UseDefaultValue</code> indicates that if Amazon SES cannot read
  * the required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain.
  * A value of <code>RejectMessage</code> indicates that if Amazon SES cannot read the required MX
  * record, Amazon SES returns a <code>MailFromDomainNotVerified</code> error and does not send the
  * email.
  *
  * <p>The custom MAIL FROM setup states that result in this behavior are <code>Pending</code>,
  * <code>Failed</code>, and <code>TemporaryFailure</code>.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>UseDefaultValue, RejectMessage
  *
  * @param behaviorOnMXFailure
  *     <p>The action that Amazon SES takes if it cannot successfully read the required MX record
  *     when you send an email. A value of <code>UseDefaultValue</code> indicates that if Amazon
  *     SES cannot read the required MX record, it uses amazonses.com (or a subdomain of that) as
  *     the MAIL FROM domain. A value of <code>RejectMessage</code> indicates that if Amazon SES
  *     cannot read the required MX record, Amazon SES returns a <code>MailFromDomainNotVerified
  *     </code> error and does not send the email.
  *     <p>The custom MAIL FROM setup states that result in this behavior are <code>Pending</code>,
  *     <code>Failed</code>, and <code>TemporaryFailure</code>.
  * @see BehaviorOnMXFailure
  */
 public void setBehaviorOnMXFailure(BehaviorOnMXFailure behaviorOnMXFailure) {
   this.behaviorOnMXFailure = behaviorOnMXFailure.toString();
 }