@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum RuleIpOperator extends Enum<RuleIpOperator>
Enum Constant and Description |
---|
CIDR_MATCHES |
NOT_CIDR_MATCHES |
Modifier and Type | Method and Description |
---|---|
static RuleIpOperator |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static RuleIpOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleIpOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleIpOperator CIDR_MATCHES
public static final RuleIpOperator NOT_CIDR_MATCHES
public static RuleIpOperator[] values()
for (RuleIpOperator c : RuleIpOperator.values()) System.out.println(c);
public static RuleIpOperator 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<RuleIpOperator>
public static RuleIpOperator fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.