Enum HttpProbeResultSummary.ErrorCategory
- java.lang.Object
-
- java.lang.Enum<HttpProbeResultSummary.ErrorCategory>
-
- com.oracle.bmc.healthchecks.model.HttpProbeResultSummary.ErrorCategory
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<HttpProbeResultSummary.ErrorCategory>
- Enclosing class:
- HttpProbeResultSummary
public static enum HttpProbeResultSummary.ErrorCategory extends Enum<HttpProbeResultSummary.ErrorCategory> implements BmcEnum
The category of error if an error occurs executing the probe.The errorMessage field provides a message with the error details. * NONE - No error * DNS - DNS errors * TRANSPORT - Transport-related errors, for example a “TLS certificate expired” error. * NETWORK - Network-related errors, for example a “network unreachable” error. * SYSTEM - Internal system errors.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpProbeResultSummary.ErrorCategory
create(String key)
String
getValue()
static HttpProbeResultSummary.ErrorCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static HttpProbeResultSummary.ErrorCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final HttpProbeResultSummary.ErrorCategory None
-
Dns
public static final HttpProbeResultSummary.ErrorCategory Dns
-
Transport
public static final HttpProbeResultSummary.ErrorCategory Transport
-
Network
public static final HttpProbeResultSummary.ErrorCategory Network
-
System
public static final HttpProbeResultSummary.ErrorCategory System
-
UnknownEnumValue
public static final HttpProbeResultSummary.ErrorCategory 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 HttpProbeResultSummary.ErrorCategory[] 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 (HttpProbeResultSummary.ErrorCategory c : HttpProbeResultSummary.ErrorCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpProbeResultSummary.ErrorCategory 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 HttpProbeResultSummary.ErrorCategory create(String key)
-
-