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