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