Enum Class AliSmsEnums
- 所有已实现的接口:
Serializable
,Comparable<AliSmsEnums>
,Constable
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量枚举常量说明账户余额不足黑名单管控模板缺少变量JSON参数不合法,只接受字符串值参数异常手机号码数量超过限制非法手机号成功业务停机参数超出长度限制不支持URL未开通云通信产品的阿里云客户产品未开通RAM权限DENY短信签名不合法短信模板不合法系统错误模板缺少变量账户不存在账户不存在 -
方法概要
修饰符和类型方法说明abstract String
getName()
获取枚举名称abstract String
getValue()
获取枚举值static AliSmsEnums
Returns the enum constant of this class with the specified name.static AliSmsEnums[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.从类继承的方法 java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
枚举常量详细资料
-
OK
成功 -
RAM_PERMISSION_DENY
RAM权限DENY -
OUT_OF_SERVICE
业务停机 -
PRODUCT_UN_SUBSCRIPT
未开通云通信产品的阿里云客户 -
PRODUCT_UNSUBSCRIBE
产品未开通 -
User_NOT_EXISTS
账户不存在 -
User_ABNORMAL
账户不存在 -
SMS_TEMPLATE_ILLEGAL
短信模板不合法 -
SMS_SIGNATURE_ILLEGAL
短信签名不合法 -
INVALID_PARAMETERS
参数异常 -
SYSTEM_ERROR
系统错误 -
MOBILE_NUMBER_ILLEGAL
非法手机号 -
MOBILE_COUNT_OVER_LIMIT
手机号码数量超过限制 -
TEMPLATE_MISSING_PARAMETERS
模板缺少变量 -
BUSINESS_LIMIT_CONTROL
模板缺少变量 -
INVALID_JSON_PARAM
JSON参数不合法,只接受字符串值 -
BLACK_KEY_CONTROL_LIMIT
黑名单管控 -
PARAM_LENGTH_LIMIT
参数超出长度限制 -
PARAM_NOT_SUPPORT_URL
不支持URL -
AMOUNT_NOT_ENOUGH
账户余额不足
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-
getValue
获取枚举值- 返回:
- 返回结果
-
getName
获取枚举名称- 返回:
- 返回结果
-