Package org.jclouds.cim
Enum ResourceAllocationSettingData.MappingBehavior
- java.lang.Object
-
- java.lang.Enum<ResourceAllocationSettingData.MappingBehavior>
-
- org.jclouds.cim.ResourceAllocationSettingData.MappingBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceAllocationSettingData.MappingBehavior>
- Enclosing class:
- ResourceAllocationSettingData
public static enum ResourceAllocationSettingData.MappingBehavior extends Enum<ResourceAllocationSettingData.MappingBehavior>
Specifies how this resource maps to underlying resourcesIf the HostResource array contains any entries, this property reflects how the resource maps to those specific resources.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEDICATED
DMTF_RESERVED
HARD_AFFINITY
NOT_SUPPORTED
SOFT_AFFINITY
UNKNOWN
VENDOR_RESERVED
-
Field Summary
Fields Modifier and Type Field Description protected int
code
protected static Map<Integer,ResourceAllocationSettingData.MappingBehavior>
MAPPING_BEHAVIOR_BY_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceAllocationSettingData.MappingBehavior
fromValue(String behavior)
String
value()
static ResourceAllocationSettingData.MappingBehavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceAllocationSettingData.MappingBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ResourceAllocationSettingData.MappingBehavior UNKNOWN
-
NOT_SUPPORTED
public static final ResourceAllocationSettingData.MappingBehavior NOT_SUPPORTED
-
DEDICATED
public static final ResourceAllocationSettingData.MappingBehavior DEDICATED
-
SOFT_AFFINITY
public static final ResourceAllocationSettingData.MappingBehavior SOFT_AFFINITY
-
HARD_AFFINITY
public static final ResourceAllocationSettingData.MappingBehavior HARD_AFFINITY
-
DMTF_RESERVED
public static final ResourceAllocationSettingData.MappingBehavior DMTF_RESERVED
-
VENDOR_RESERVED
public static final ResourceAllocationSettingData.MappingBehavior VENDOR_RESERVED
-
-
Field Detail
-
code
protected final int code
-
MAPPING_BEHAVIOR_BY_ID
protected static final Map<Integer,ResourceAllocationSettingData.MappingBehavior> MAPPING_BEHAVIOR_BY_ID
-
-
Method Detail
-
values
public static ResourceAllocationSettingData.MappingBehavior[] 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 (ResourceAllocationSettingData.MappingBehavior c : ResourceAllocationSettingData.MappingBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceAllocationSettingData.MappingBehavior 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()
-
fromValue
public static ResourceAllocationSettingData.MappingBehavior fromValue(String behavior)
-
-