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