Enum StsErrorCode
- java.lang.Object
-
- java.lang.Enum<StsErrorCode>
-
- com.tencentcloudapi.sts.v20180813.StsErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<StsErrorCode>
public enum StsErrorCode extends Enum<StsErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static StsErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static StsErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHFAILURE_ACCESSKEYILLEGAL
public static final StsErrorCode AUTHFAILURE_ACCESSKEYILLEGAL
-
INTERNALERROR_DBERROR
public static final StsErrorCode INTERNALERROR_DBERROR
-
INTERNALERROR_ENCRYPTERROR
public static final StsErrorCode INTERNALERROR_ENCRYPTERROR
-
INTERNALERROR_GETAPPIDERROR
public static final StsErrorCode INTERNALERROR_GETAPPIDERROR
-
INTERNALERROR_GETROLEERROR
public static final StsErrorCode INTERNALERROR_GETROLEERROR
-
INTERNALERROR_GETSEEDTOKENERROR
public static final StsErrorCode INTERNALERROR_GETSEEDTOKENERROR
-
INTERNALERROR_ILLEGALROLE
public static final StsErrorCode INTERNALERROR_ILLEGALROLE
-
INTERNALERROR_PBSERIALIZEERROR
public static final StsErrorCode INTERNALERROR_PBSERIALIZEERROR
-
INTERNALERROR_SYSTEMERROR
public static final StsErrorCode INTERNALERROR_SYSTEMERROR
-
INTERNALERROR_UNKNOWNERROR
public static final StsErrorCode INTERNALERROR_UNKNOWNERROR
-
INVALIDPARAMETER_ACCESSKEYNOTSUPPORT
public static final StsErrorCode INVALIDPARAMETER_ACCESSKEYNOTSUPPORT
-
INVALIDPARAMETER_ACCOUNTNOTAVALIABLE
public static final StsErrorCode INVALIDPARAMETER_ACCOUNTNOTAVALIABLE
-
INVALIDPARAMETER_EXTENDSTRATEGYOVERSIZE
public static final StsErrorCode INVALIDPARAMETER_EXTENDSTRATEGYOVERSIZE
-
INVALIDPARAMETER_GRANTOTHERRESOURCE
public static final StsErrorCode INVALIDPARAMETER_GRANTOTHERRESOURCE
-
INVALIDPARAMETER_OVERLIMIT
public static final StsErrorCode INVALIDPARAMETER_OVERLIMIT
-
INVALIDPARAMETER_OVERTIMEERROR
public static final StsErrorCode INVALIDPARAMETER_OVERTIMEERROR
-
INVALIDPARAMETER_PARAMERROR
public static final StsErrorCode INVALIDPARAMETER_PARAMERROR
-
INVALIDPARAMETER_POLICYTOOLONG
public static final StsErrorCode INVALIDPARAMETER_POLICYTOOLONG
-
INVALIDPARAMETER_RESOUCEERROR
public static final StsErrorCode INVALIDPARAMETER_RESOUCEERROR
-
INVALIDPARAMETER_STRATEGYFORMATERROR
public static final StsErrorCode INVALIDPARAMETER_STRATEGYFORMATERROR
-
INVALIDPARAMETER_STRATEGYINVALID
public static final StsErrorCode INVALIDPARAMETER_STRATEGYINVALID
-
INVALIDPARAMETER_TEMPCODENOTAVALIABLE
public static final StsErrorCode INVALIDPARAMETER_TEMPCODENOTAVALIABLE
-
INVALIDPARAMETER_WEBIDENTITYTOKENERROR
public static final StsErrorCode INVALIDPARAMETER_WEBIDENTITYTOKENERROR
-
REQUESTLIMITEXCEEDED
public static final StsErrorCode REQUESTLIMITEXCEEDED
-
RESOURCENOTFOUND_ROLENOTFOUND
public static final StsErrorCode RESOURCENOTFOUND_ROLENOTFOUND
-
UNAUTHORIZEDOPERATION
public static final StsErrorCode UNAUTHORIZEDOPERATION
-
UNSUPPORTEDOPERATION
public static final StsErrorCode UNSUPPORTEDOPERATION
-
-
Method Detail
-
values
public static StsErrorCode[] 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 (StsErrorCode c : StsErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StsErrorCode 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
-
-