Enum SmhErrorCode
- java.lang.Object
-
- java.lang.Enum<SmhErrorCode>
-
- com.tencentcloudapi.smh.v20210712.SmhErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<SmhErrorCode>
public enum SmhErrorCode extends Enum<SmhErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static SmhErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static SmhErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNALERROR
public static final SmhErrorCode INTERNALERROR
-
INTERNALERROR_BALANCELESS
public static final SmhErrorCode INTERNALERROR_BALANCELESS
-
INTERNALERROR_MODIFYRESOURCESTATUSFAIL
public static final SmhErrorCode INTERNALERROR_MODIFYRESOURCESTATUSFAIL
-
INTERNALERROR_POSTPAIDFAIL
public static final SmhErrorCode INTERNALERROR_POSTPAIDFAIL
-
INTERNALERROR_SENDSMS
public static final SmhErrorCode INTERNALERROR_SENDSMS
-
INVALIDPARAMETERVALUE
public static final SmhErrorCode INVALIDPARAMETERVALUE
-
INVALIDPARAMETERVALUE_BUCKETNAMEINVALID
public static final SmhErrorCode INVALIDPARAMETERVALUE_BUCKETNAMEINVALID
-
INVALIDPARAMETERVALUE_BUCKETNAMENOTBELONGYOU
public static final SmhErrorCode INVALIDPARAMETERVALUE_BUCKETNAMENOTBELONGYOU
-
INVALIDPARAMETERVALUE_BUCKETNOTFOUND
public static final SmhErrorCode INVALIDPARAMETERVALUE_BUCKETNOTFOUND
-
INVALIDPARAMETERVALUE_BUCKETNOTSUPPORT
public static final SmhErrorCode INVALIDPARAMETERVALUE_BUCKETNOTSUPPORT
-
INVALIDPARAMETERVALUE_BUCKETREGIONINVALID
public static final SmhErrorCode INVALIDPARAMETERVALUE_BUCKETREGIONINVALID
-
INVALIDPARAMETERVALUE_COSSTORAGECLASS
public static final SmhErrorCode INVALIDPARAMETERVALUE_COSSTORAGECLASS
-
INVALIDPARAMETERVALUE_COSSTORAGECLASSINTELLIGENTTIERING
public static final SmhErrorCode INVALIDPARAMETERVALUE_COSSTORAGECLASSINTELLIGENTTIERING
-
INVALIDPARAMETERVALUE_COUNTRYCODE
public static final SmhErrorCode INVALIDPARAMETERVALUE_COUNTRYCODE
-
INVALIDPARAMETERVALUE_LIMITEXCEEDED
public static final SmhErrorCode INVALIDPARAMETERVALUE_LIMITEXCEEDED
-
INVALIDPARAMETERVALUE_NOTMODIFIED
public static final SmhErrorCode INVALIDPARAMETERVALUE_NOTMODIFIED
-
INVALIDPARAMETERVALUE_NOTSUPERADMIN
public static final SmhErrorCode INVALIDPARAMETERVALUE_NOTSUPERADMIN
-
INVALIDPARAMETERVALUE_PHONENUMBER
public static final SmhErrorCode INVALIDPARAMETERVALUE_PHONENUMBER
-
LIMITEXCEEDED_USERLIMIT
public static final SmhErrorCode LIMITEXCEEDED_USERLIMIT
-
REQUESTLIMITEXCEEDED_SENDSMS
public static final SmhErrorCode REQUESTLIMITEXCEEDED_SENDSMS
-
RESOURCEINUSE_MULTISPACE
public static final SmhErrorCode RESOURCEINUSE_MULTISPACE
-
RESOURCENOTFOUND_LIBRARY
public static final SmhErrorCode RESOURCENOTFOUND_LIBRARY
-
RESOURCENOTFOUND_OFFICIALINSTANCE
public static final SmhErrorCode RESOURCENOTFOUND_OFFICIALINSTANCE
-
UNAUTHORIZEDOPERATION_PASSROLE
public static final SmhErrorCode UNAUTHORIZEDOPERATION_PASSROLE
-
UNAUTHORIZEDOPERATION_SERVICELINKEDROLE
public static final SmhErrorCode UNAUTHORIZEDOPERATION_SERVICELINKEDROLE
-
UNAUTHORIZEDOPERATION_SMSCODE
public static final SmhErrorCode UNAUTHORIZEDOPERATION_SMSCODE
-
UNAUTHORIZEDOPERATION_SMSCODEEXCEEDED
public static final SmhErrorCode UNAUTHORIZEDOPERATION_SMSCODEEXCEEDED
-
UNSUPPORTEDOPERATION_PURPOSE
public static final SmhErrorCode UNSUPPORTEDOPERATION_PURPOSE
-
-
Method Detail
-
values
public static SmhErrorCode[] 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 (SmhErrorCode c : SmhErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SmhErrorCode 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
-
getValue
public String getValue()
- Returns:
- errorcode value
-
-