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