Enum AmsErrorCode
- java.lang.Object
-
- java.lang.Enum<AmsErrorCode>
-
- com.tencentcloudapi.ams.v20201229.AmsErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<AmsErrorCode>
public enum AmsErrorCode extends Enum<AmsErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static AmsErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static AmsErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRYRUNOPERATION
public static final AmsErrorCode DRYRUNOPERATION
-
FAILEDOPERATION
public static final AmsErrorCode FAILEDOPERATION
-
INTERNALERROR
public static final AmsErrorCode INTERNALERROR
-
INTERNALERROR_INTERNALERROR
public static final AmsErrorCode INTERNALERROR_INTERNALERROR
-
INVALIDPARAMETER
public static final AmsErrorCode INVALIDPARAMETER
-
INVALIDPARAMETER_IMAGESIZETOOSMALL
public static final AmsErrorCode INVALIDPARAMETER_IMAGESIZETOOSMALL
-
INVALIDPARAMETER_INVALIDIMAGECONTENT
public static final AmsErrorCode INVALIDPARAMETER_INVALIDIMAGECONTENT
-
INVALIDPARAMETER_PARAMETERERROR
public static final AmsErrorCode INVALIDPARAMETER_PARAMETERERROR
-
INVALIDPARAMETERVALUE
public static final AmsErrorCode INVALIDPARAMETERVALUE
-
INVALIDPARAMETERVALUE_EMPTYIMAGECONTENT
public static final AmsErrorCode INVALIDPARAMETERVALUE_EMPTYIMAGECONTENT
-
INVALIDPARAMETERVALUE_IMAGESIZETOOSMALL
public static final AmsErrorCode INVALIDPARAMETERVALUE_IMAGESIZETOOSMALL
-
INVALIDPARAMETERVALUE_INVALIDCONTENT
public static final AmsErrorCode INVALIDPARAMETERVALUE_INVALIDCONTENT
-
INVALIDPARAMETERVALUE_INVALIDDATAID
public static final AmsErrorCode INVALIDPARAMETERVALUE_INVALIDDATAID
-
INVALIDPARAMETERVALUE_INVALIDFILECONTENTSIZE
public static final AmsErrorCode INVALIDPARAMETERVALUE_INVALIDFILECONTENTSIZE
-
INVALIDPARAMETERVALUE_INVALIDIMAGECONTENT
public static final AmsErrorCode INVALIDPARAMETERVALUE_INVALIDIMAGECONTENT
-
INVALIDPARAMETERVALUE_INVALIDPARAMETER
public static final AmsErrorCode INVALIDPARAMETERVALUE_INVALIDPARAMETER
-
LIMITEXCEEDED
public static final AmsErrorCode LIMITEXCEEDED
-
MISSINGPARAMETER
public static final AmsErrorCode MISSINGPARAMETER
-
OPERATIONDENIED
public static final AmsErrorCode OPERATIONDENIED
-
REQUESTLIMITEXCEEDED
public static final AmsErrorCode REQUESTLIMITEXCEEDED
-
RESOURCEINUSE
public static final AmsErrorCode RESOURCEINUSE
-
RESOURCEINSUFFICIENT
public static final AmsErrorCode RESOURCEINSUFFICIENT
-
RESOURCENOTFOUND
public static final AmsErrorCode RESOURCENOTFOUND
-
RESOURCEUNAVAILABLE
public static final AmsErrorCode RESOURCEUNAVAILABLE
-
RESOURCEUNAVAILABLE_INVALIDIMAGECONTENT
public static final AmsErrorCode RESOURCEUNAVAILABLE_INVALIDIMAGECONTENT
-
RESOURCESSOLDOUT
public static final AmsErrorCode RESOURCESSOLDOUT
-
UNAUTHORIZEDOPERATION
public static final AmsErrorCode UNAUTHORIZEDOPERATION
-
UNAUTHORIZEDOPERATION_UNAUTHORIZED
public static final AmsErrorCode UNAUTHORIZEDOPERATION_UNAUTHORIZED
-
UNKNOWNPARAMETER
public static final AmsErrorCode UNKNOWNPARAMETER
-
UNSUPPORTEDOPERATION
public static final AmsErrorCode UNSUPPORTEDOPERATION
-
-
Method Detail
-
values
public static AmsErrorCode[] 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 (AmsErrorCode c : AmsErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AmsErrorCode 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
-
-