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