Enum LanguageCodeString
- java.lang.Object
-
- java.lang.Enum<LanguageCodeString>
-
- software.amazon.awssdk.services.sns.model.LanguageCodeString
-
- All Implemented Interfaces:
Serializable
,Comparable<LanguageCodeString>
@Generated("software.amazon.awssdk:codegen") public enum LanguageCodeString extends Enum<LanguageCodeString>
Supported language code for sending OTP message
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LanguageCodeString
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<LanguageCodeString>
knownValues()
String
toString()
static LanguageCodeString
valueOf(String name)
Returns the enum constant of this type with the specified name.static LanguageCodeString[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EN_US
public static final LanguageCodeString EN_US
-
EN_GB
public static final LanguageCodeString EN_GB
-
ES_419
public static final LanguageCodeString ES_419
-
ES_ES
public static final LanguageCodeString ES_ES
-
DE_DE
public static final LanguageCodeString DE_DE
-
FR_CA
public static final LanguageCodeString FR_CA
-
FR_FR
public static final LanguageCodeString FR_FR
-
IT_IT
public static final LanguageCodeString IT_IT
-
JA_JP
public static final LanguageCodeString JA_JP
-
PT_BR
public static final LanguageCodeString PT_BR
-
KR_KR
public static final LanguageCodeString KR_KR
-
ZH_CN
public static final LanguageCodeString ZH_CN
-
ZH_TW
public static final LanguageCodeString ZH_TW
-
UNKNOWN_TO_SDK_VERSION
public static final LanguageCodeString UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static LanguageCodeString[] 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 (LanguageCodeString c : LanguageCodeString.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LanguageCodeString 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:
toString
in classEnum<LanguageCodeString>
-
fromValue
public static LanguageCodeString 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:
- LanguageCodeString corresponding to the value
-
knownValues
public static Set<LanguageCodeString> knownValues()
Use this in place ofvalues()
to return aSet
of all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION
.- Returns:
- a
Set
of knownLanguageCodeString
s
-
-