Enum RuleCondition.Type
- java.lang.Object
-
- java.lang.Enum<RuleCondition.Type>
-
- software.amazon.awssdk.services.mailmanager.model.RuleCondition.Type
-
- All Implemented Interfaces:
Serializable,Comparable<RuleCondition.Type>
- Enclosing class:
- RuleCondition
public static enum RuleCondition.Type extends Enum<RuleCondition.Type>
- See Also:
RuleCondition.type()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN_EXPRESSIONDMARC_EXPRESSIONIP_EXPRESSIONNUMBER_EXPRESSIONSTRING_EXPRESSIONUNKNOWN_TO_SDK_VERSIONVERDICT_EXPRESSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuleCondition.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static RuleCondition.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN_EXPRESSION
public static final RuleCondition.Type BOOLEAN_EXPRESSION
-
DMARC_EXPRESSION
public static final RuleCondition.Type DMARC_EXPRESSION
-
IP_EXPRESSION
public static final RuleCondition.Type IP_EXPRESSION
-
NUMBER_EXPRESSION
public static final RuleCondition.Type NUMBER_EXPRESSION
-
STRING_EXPRESSION
public static final RuleCondition.Type STRING_EXPRESSION
-
VERDICT_EXPRESSION
public static final RuleCondition.Type VERDICT_EXPRESSION
-
UNKNOWN_TO_SDK_VERSION
public static final RuleCondition.Type UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static RuleCondition.Type[] 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 (RuleCondition.Type c : RuleCondition.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuleCondition.Type 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
-
-