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