Enum PingProbeResultSummary.ErrorCategory
- java.lang.Object
-
- java.lang.Enum<PingProbeResultSummary.ErrorCategory>
-
- com.oracle.bmc.healthchecks.model.PingProbeResultSummary.ErrorCategory
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PingProbeResultSummary.ErrorCategory>
- Enclosing class:
- PingProbeResultSummary
public static enum PingProbeResultSummary.ErrorCategory extends Enum<PingProbeResultSummary.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 PingProbeResultSummary.ErrorCategory
create(String key)
String
getValue()
static PingProbeResultSummary.ErrorCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static PingProbeResultSummary.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 PingProbeResultSummary.ErrorCategory None
-
Dns
public static final PingProbeResultSummary.ErrorCategory Dns
-
Transport
public static final PingProbeResultSummary.ErrorCategory Transport
-
Network
public static final PingProbeResultSummary.ErrorCategory Network
-
System
public static final PingProbeResultSummary.ErrorCategory System
-
UnknownEnumValue
public static final PingProbeResultSummary.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 PingProbeResultSummary.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 (PingProbeResultSummary.ErrorCategory c : PingProbeResultSummary.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 PingProbeResultSummary.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 PingProbeResultSummary.ErrorCategory create(String key)
-
-