Enum HealthMonitorType
- java.lang.Object
-
- java.lang.Enum<HealthMonitorType>
-
- org.openstack4j.model.network.ext.HealthMonitorType
-
- All Implemented Interfaces:
Serializable
,Comparable<HealthMonitorType>
public enum HealthMonitorType extends Enum<HealthMonitorType>
A Health Monitor Type- Author:
- liujunpeng
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HealthMonitorType
forValue(String value)
static HealthMonitorType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HealthMonitorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PING
public static final HealthMonitorType PING
-
TCP
public static final HealthMonitorType TCP
-
HTTP
public static final HealthMonitorType HTTP
-
HTTPS
public static final HealthMonitorType HTTPS
-
-
Method Detail
-
values
public static HealthMonitorType[] 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 (HealthMonitorType c : HealthMonitorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HealthMonitorType 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
-
forValue
public static HealthMonitorType forValue(String value)
-
-