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