/** * The state that indicates whether Amazon SES has successfully read the MX record required for * custom MAIL FROM domain setup. If the state is <code>Success</code>, Amazon SES uses the * specified custom MAIL FROM domain when the verified identity sends an email. All other states * indicate that Amazon SES takes the action described by <code>BehaviorOnMXFailure</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>Pending, Success, Failed, TemporaryFailure * * @param mailFromDomainStatus * <p>The state that indicates whether Amazon SES has successfully read the MX record required * for custom MAIL FROM domain setup. If the state is <code>Success</code>, Amazon SES uses * the specified custom MAIL FROM domain when the verified identity sends an email. All other * states indicate that Amazon SES takes the action described by <code>BehaviorOnMXFailure * </code> . * @return A reference to this updated object so that method calls can be chained together. * @see CustomMailFromStatus */ public IdentityMailFromDomainAttributes withMailFromDomainStatus( CustomMailFromStatus mailFromDomainStatus) { this.mailFromDomainStatus = mailFromDomainStatus.toString(); return this; }
/** * The state that indicates whether Amazon SES has successfully read the MX record required for * custom MAIL FROM domain setup. If the state is <code>Success</code>, Amazon SES uses the * specified custom MAIL FROM domain when the verified identity sends an email. All other states * indicate that Amazon SES takes the action described by <code>BehaviorOnMXFailure</code>. * * <p><b>Constraints:</b><br> * <b>Allowed Values: </b>Pending, Success, Failed, TemporaryFailure * * @param mailFromDomainStatus * <p>The state that indicates whether Amazon SES has successfully read the MX record required * for custom MAIL FROM domain setup. If the state is <code>Success</code>, Amazon SES uses * the specified custom MAIL FROM domain when the verified identity sends an email. All other * states indicate that Amazon SES takes the action described by <code>BehaviorOnMXFailure * </code> . * @see CustomMailFromStatus */ public void setMailFromDomainStatus(CustomMailFromStatus mailFromDomainStatus) { this.mailFromDomainStatus = mailFromDomainStatus.toString(); }