Enum AmeErrorCode
- java.lang.Object
-
- java.lang.Enum<AmeErrorCode>
-
- com.tencentcloudapi.ame.v20190916.AmeErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<AmeErrorCode>
public enum AmeErrorCode extends Enum<AmeErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static AmeErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static AmeErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHFAILURE
public static final AmeErrorCode AUTHFAILURE
-
DRYRUNOPERATION
public static final AmeErrorCode DRYRUNOPERATION
-
FAILEDOPERATION
public static final AmeErrorCode FAILEDOPERATION
-
INTERNALERROR
public static final AmeErrorCode INTERNALERROR
-
INVALIDPARAMETER
public static final AmeErrorCode INVALIDPARAMETER
-
INVALIDPARAMETERVALUE
public static final AmeErrorCode INVALIDPARAMETERVALUE
-
LIMITEXCEEDED
public static final AmeErrorCode LIMITEXCEEDED
-
MISSINGPARAMETER
public static final AmeErrorCode MISSINGPARAMETER
-
OPERATIONDENIED
public static final AmeErrorCode OPERATIONDENIED
-
REQUESTLIMITEXCEEDED
public static final AmeErrorCode REQUESTLIMITEXCEEDED
-
RESOURCEINUSE
public static final AmeErrorCode RESOURCEINUSE
-
RESOURCEINSUFFICIENT
public static final AmeErrorCode RESOURCEINSUFFICIENT
-
RESOURCENOTFOUND
public static final AmeErrorCode RESOURCENOTFOUND
-
RESOURCEUNAVAILABLE
public static final AmeErrorCode RESOURCEUNAVAILABLE
-
RESOURCESSOLDOUT
public static final AmeErrorCode RESOURCESSOLDOUT
-
UNAUTHORIZEDOPERATION
public static final AmeErrorCode UNAUTHORIZEDOPERATION
-
UNKNOWNPARAMETER
public static final AmeErrorCode UNKNOWNPARAMETER
-
UNSUPPORTEDOPERATION
public static final AmeErrorCode UNSUPPORTEDOPERATION
-
-
Method Detail
-
values
public static AmeErrorCode[] 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 (AmeErrorCode c : AmeErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AmeErrorCode 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
-
-