Package org.ovirt.engine.sdk4.types
Enum QosType
- java.lang.Object
-
- java.lang.Enum<QosType>
-
- org.ovirt.engine.sdk4.types.QosType
-
- All Implemented Interfaces:
Serializable
,Comparable<QosType>
public enum QosType extends Enum<QosType>
This type represents the kind of resource the <> can be assigned to.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CPU
The <> can be assigned to resources with computing capabilities. HOSTNETWORK
The <> can be assigned to host networks. NETWORK
The <> can be assigned to virtual machines networks. STORAGE
The <> can be assigned to storage.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QosType
fromValue(String value)
String
value()
static QosType
valueOf(String name)
Returns the enum constant of this type with the specified name.static QosType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CPU
public static final QosType CPU
The <> can be assigned to resources with computing capabilities.
-
HOSTNETWORK
public static final QosType HOSTNETWORK
The <> can be assigned to host networks.
-
NETWORK
public static final QosType NETWORK
The <> can be assigned to virtual machines networks.
-
STORAGE
public static final QosType STORAGE
The <> can be assigned to storage.
-
-
Method Detail
-
values
public static QosType[] 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 (QosType c : QosType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QosType 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
-
value
public String value()
-
-