@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum BehaviorOnMxFailure extends Enum<BehaviorOnMxFailure>
The action that you want Amazon Pinpoint to take if it can't read the required MX record for a custom MAIL FROM
domain. When you set this value to UseDefaultValue, Amazon Pinpoint uses amazonses.com as the
MAIL FROM domain. When you set this value to RejectMessage, Amazon Pinpoint returns a
MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending,
Failed, and TemporaryFailure states.
| Enum Constant and Description |
|---|
REJECT_MESSAGE |
USE_DEFAULT_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static BehaviorOnMxFailure |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static BehaviorOnMxFailure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BehaviorOnMxFailure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BehaviorOnMxFailure USE_DEFAULT_VALUE
public static final BehaviorOnMxFailure REJECT_MESSAGE
public static BehaviorOnMxFailure[] values()
for (BehaviorOnMxFailure c : BehaviorOnMxFailure.values()) System.out.println(c);
public static BehaviorOnMxFailure valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<BehaviorOnMxFailure>public static BehaviorOnMxFailure fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.