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.
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
code
protected final int code
MAPPING_BEHAVIOR_BY_ID
protected static final Map<Integer,ResourceAllocationSettingData.MappingBehavior> MAPPING_BEHAVIOR_BY_ID
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 name
NullPointerException
- if the argument is null
value
public String value()
fromValue
public static ResourceAllocationSettingData.MappingBehavior fromValue(String behavior)
Copyright © 2009-2011 jclouds. All Rights Reserved.