Enum PhoneNumberStatus
- java.lang.Object
-
- java.lang.Enum<PhoneNumberStatus>
-
- software.amazon.awssdk.services.chimesdkvoice.model.PhoneNumberStatus
-
- All Implemented Interfaces:
Serializable,Comparable<PhoneNumberStatus>
@Generated("software.amazon.awssdk:codegen") public enum PhoneNumberStatus extends Enum<PhoneNumberStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACQUIRE_FAILEDACQUIRE_IN_PROGRESSASSIGNEDCANCELLEDDELETE_FAILEDDELETE_IN_PROGRESSPORTIN_CANCEL_REQUESTEDPORTIN_IN_PROGRESSRELEASE_FAILEDRELEASE_IN_PROGRESSUNASSIGNEDUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhoneNumberStatusfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<PhoneNumberStatus>knownValues()StringtoString()static PhoneNumberStatusvalueOf(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.
-
-
-
Enum Constant Detail
-
CANCELLED
public static final PhoneNumberStatus CANCELLED
-
PORTIN_CANCEL_REQUESTED
public static final PhoneNumberStatus PORTIN_CANCEL_REQUESTED
-
PORTIN_IN_PROGRESS
public static final PhoneNumberStatus PORTIN_IN_PROGRESS
-
ACQUIRE_IN_PROGRESS
public static final PhoneNumberStatus ACQUIRE_IN_PROGRESS
-
ACQUIRE_FAILED
public static final PhoneNumberStatus ACQUIRE_FAILED
-
UNASSIGNED
public static final PhoneNumberStatus UNASSIGNED
-
ASSIGNED
public static final PhoneNumberStatus ASSIGNED
-
RELEASE_IN_PROGRESS
public static final PhoneNumberStatus RELEASE_IN_PROGRESS
-
DELETE_IN_PROGRESS
public static final PhoneNumberStatus DELETE_IN_PROGRESS
-
RELEASE_FAILED
public static final PhoneNumberStatus RELEASE_FAILED
-
DELETE_FAILED
public static final PhoneNumberStatus DELETE_FAILED
-
UNKNOWN_TO_SDK_VERSION
public static final PhoneNumberStatus UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static PhoneNumberStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PhoneNumberStatus c : PhoneNumberStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhoneNumberStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<PhoneNumberStatus>
-
fromValue
public static PhoneNumberStatus fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- PhoneNumberStatus corresponding to the value
-
knownValues
public static Set<PhoneNumberStatus> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownPhoneNumberStatuss
-
-