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