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