Package com.oracle.bmc.email.model
Enum SuppressionReason
- java.lang.Object
-
- java.lang.Enum<SuppressionReason>
-
- com.oracle.bmc.email.model.SuppressionReason
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SuppressionReason>
@Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public enum SuppressionReason extends Enum<SuppressionReason> implements BmcEnum
The reason that the email address was suppressed.For more information on the types of bounces, see Suppression List.
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SuppressionReason
create(String key)
String
getValue()
static SuppressionReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static SuppressionReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final SuppressionReason Unknown
-
Hardbounce
public static final SuppressionReason Hardbounce
-
Complaint
public static final SuppressionReason Complaint
-
Manual
public static final SuppressionReason Manual
-
Softbounce
public static final SuppressionReason Softbounce
-
Unsubscribe
public static final SuppressionReason Unsubscribe
-
UnknownEnumValue
public static final SuppressionReason UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static SuppressionReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SuppressionReason c : SuppressionReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SuppressionReason 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static SuppressionReason create(String key)
-
-