org.jclouds.cim
Enum ResourceAllocationSettingData.ConsumerVisibility

java.lang.Object
  extended by java.lang.Enum<ResourceAllocationSettingData.ConsumerVisibility>
      extended by org.jclouds.cim.ResourceAllocationSettingData.ConsumerVisibility
All Implemented Interfaces:
Serializable, Comparable<ResourceAllocationSettingData.ConsumerVisibility>
Enclosing class:
ResourceAllocationSettingData

public static enum ResourceAllocationSettingData.ConsumerVisibility
extends Enum<ResourceAllocationSettingData.ConsumerVisibility>

Describes the consumers visibility to the allocated resource.


Enum Constant Summary
DMTF_RESERVED
           
NOT_REPRESENTED
          indicates a representation of the resource does not exist within the context of the resource consumer.
PASSED_THROUGH
          indicates the underlying or host resource is utilized and passed through to the consumer, possibly using partitioning.
UNKNOWN
           
VENDOR_RESERVED
           
VIRTUALIZED
          indicates the resource is virtualized and may not map directly to an underlying/host resource.
 
Field Summary
protected  int code
           
protected static Map<Integer,ResourceAllocationSettingData.ConsumerVisibility> MAPPING_BEHAVIOR_BY_ID
           
 
Method Summary
static ResourceAllocationSettingData.ConsumerVisibility fromValue(String behavior)
           
 String value()
           
static ResourceAllocationSettingData.ConsumerVisibility valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResourceAllocationSettingData.ConsumerVisibility[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final ResourceAllocationSettingData.ConsumerVisibility UNKNOWN

PASSED_THROUGH

public static final ResourceAllocationSettingData.ConsumerVisibility PASSED_THROUGH
indicates the underlying or host resource is utilized and passed through to the consumer, possibly using partitioning. At least one item shall be present in the HostResource property.


VIRTUALIZED

public static final ResourceAllocationSettingData.ConsumerVisibility VIRTUALIZED
indicates the resource is virtualized and may not map directly to an underlying/host resource. Some implementations may support specific assignment for virtualized resources, in which case the host resource(s) are exposed using the HostResource property.


NOT_REPRESENTED

public static final ResourceAllocationSettingData.ConsumerVisibility NOT_REPRESENTED
indicates a representation of the resource does not exist within the context of the resource consumer.


DMTF_RESERVED

public static final ResourceAllocationSettingData.ConsumerVisibility DMTF_RESERVED

VENDOR_RESERVED

public static final ResourceAllocationSettingData.ConsumerVisibility VENDOR_RESERVED
Field Detail

code

protected final int code

MAPPING_BEHAVIOR_BY_ID

protected static final Map<Integer,ResourceAllocationSettingData.ConsumerVisibility> MAPPING_BEHAVIOR_BY_ID
Method Detail

values

public static ResourceAllocationSettingData.ConsumerVisibility[] 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.ConsumerVisibility c : ResourceAllocationSettingData.ConsumerVisibility.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.ConsumerVisibility 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.ConsumerVisibility fromValue(String behavior)


Copyright © 2009-2011 jclouds. All Rights Reserved.