public static enum Suppression.Reason extends Enum<Suppression.Reason> implements BmcEnum
The reason that the email address was suppressed. For more information on the types of bounces, see Suppression List.
Enum Constant and Description |
---|
Complaint |
Hardbounce |
Manual |
Softbounce |
Unknown |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Unsubscribe |
Modifier and Type | Method and Description |
---|---|
static Suppression.Reason |
create(String key) |
String |
getValue() |
static Suppression.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Suppression.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Suppression.Reason Unknown
public static final Suppression.Reason Hardbounce
public static final Suppression.Reason Complaint
public static final Suppression.Reason Manual
public static final Suppression.Reason Softbounce
public static final Suppression.Reason Unsubscribe
public static final Suppression.Reason UnknownEnumValue
public static Suppression.Reason[] values()
for (Suppression.Reason c : Suppression.Reason.values()) System.out.println(c);
public static Suppression.Reason 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 static Suppression.Reason create(String key)
Copyright © 2016–2023. All rights reserved.