Enum MailFromBehaviorOnMxFailure

All Implemented Interfaces:
Serializable, Comparable<MailFromBehaviorOnMxFailure>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:25.942Z") @Stability(Stable) public enum MailFromBehaviorOnMxFailure extends Enum<MailFromBehaviorOnMxFailure>
The action to take if the required MX record for the MAIL FROM domain isn't found.
  • Enum Constant Details


      @Stability(Stable) public static final MailFromBehaviorOnMxFailure USE_DEFAULT_VALUE
      The mail is sent using amazonses.com as the MAIL FROM domain.

      @Stability(Stable) public static final MailFromBehaviorOnMxFailure REJECT_MESSAGE
      The Amazon SES API v2 returns a MailFromDomainNotVerified error and doesn't attempt to deliver the email.
  • Method Details

    • values

      public static MailFromBehaviorOnMxFailure[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MailFromBehaviorOnMxFailure valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null