Package com.oracle.bmc.waas.model
Enum HealthCheck.ExpectedResponseCodeGroup
- java.lang.Object
-
- java.lang.Enum<HealthCheck.ExpectedResponseCodeGroup>
-
- com.oracle.bmc.waas.model.HealthCheck.ExpectedResponseCodeGroup
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<HealthCheck.ExpectedResponseCodeGroup>
- Enclosing class:
- HealthCheck
public static enum HealthCheck.ExpectedResponseCodeGroup extends Enum<HealthCheck.ExpectedResponseCodeGroup> implements BmcEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description _2Xx
_3Xx
_4Xx
_5Xx
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthCheck.ExpectedResponseCodeGroup
create(String key)
String
getValue()
static HealthCheck.ExpectedResponseCodeGroup
valueOf(String name)
Returns the enum constant of this type with the specified name.static HealthCheck.ExpectedResponseCodeGroup[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_2Xx
public static final HealthCheck.ExpectedResponseCodeGroup _2Xx
-
_3Xx
public static final HealthCheck.ExpectedResponseCodeGroup _3Xx
-
_4Xx
public static final HealthCheck.ExpectedResponseCodeGroup _4Xx
-
_5Xx
public static final HealthCheck.ExpectedResponseCodeGroup _5Xx
-
UnknownEnumValue
public static final HealthCheck.ExpectedResponseCodeGroup UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static HealthCheck.ExpectedResponseCodeGroup[] 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 (HealthCheck.ExpectedResponseCodeGroup c : HealthCheck.ExpectedResponseCodeGroup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HealthCheck.ExpectedResponseCodeGroup 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
-
create
public static HealthCheck.ExpectedResponseCodeGroup create(String key)
-
-