Enum IrpErrorCode
- java.lang.Object
-
- java.lang.Enum<IrpErrorCode>
-
- com.tencentcloudapi.irp.v20220324.IrpErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<IrpErrorCode>
public enum IrpErrorCode extends Enum<IrpErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERNALERROR
INVALIDPARAMETER
INVALIDPARAMETERVALUE
OPERATIONDENIED
UNAUTHORIZEDOPERATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static IrpErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static IrpErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNALERROR
public static final IrpErrorCode INTERNALERROR
-
INVALIDPARAMETER
public static final IrpErrorCode INVALIDPARAMETER
-
INVALIDPARAMETERVALUE
public static final IrpErrorCode INVALIDPARAMETERVALUE
-
OPERATIONDENIED
public static final IrpErrorCode OPERATIONDENIED
-
UNAUTHORIZEDOPERATION
public static final IrpErrorCode UNAUTHORIZEDOPERATION
-
-
Method Detail
-
values
public static IrpErrorCode[] 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 (IrpErrorCode c : IrpErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IrpErrorCode 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
-
-