|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.cim.SettingData org.jclouds.cim.ManagedElement org.jclouds.cim.ResourceAllocationSettingData
public class ResourceAllocationSettingData
The ResourceAllocationSettingData class represents settings specifically related to an allocated resource that are outside the scope of the CIM class typically used to represent the resource itself. These settings include information specific to the allocation that may not be visible to the consumer of the resource itself. For example, a virtual processor may look like a 2 ghz processor to the consumer (virtual computer system), however the virtualization system may use time-slicing to schedule the the virtual processor to only allow it to use 1 ghz.
Nested Class Summary | |
---|---|
static class |
ResourceAllocationSettingData.Builder
|
static class |
ResourceAllocationSettingData.ConsumerVisibility
Describes the consumers visibility to the allocated resource. |
static class |
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. |
static class |
ResourceAllocationSettingData.ResourceType
The type of resource this allocation setting represents. |
Field Summary | |
---|---|
protected String |
address
|
protected String |
addressOnParent
|
protected String |
allocationUnits
|
protected Boolean |
automaticAllocation
|
protected Boolean |
automaticDeallocation
|
protected List<String> |
connections
|
protected ResourceAllocationSettingData.ConsumerVisibility |
consumerVisibility
|
protected List<String> |
hostResources
|
protected Long |
limit
|
protected ResourceAllocationSettingData.MappingBehavior |
mappingBehavior
|
protected String |
otherResourceType
|
protected String |
parent
|
protected String |
poolID
|
protected Long |
reservation
|
protected String |
resourceSubType
|
protected ResourceAllocationSettingData.ResourceType |
resourceType
|
protected Long |
virtualQuantity
|
protected String |
virtualQuantityUnits
|
protected Integer |
weight
|
Fields inherited from class org.jclouds.cim.ManagedElement |
---|
caption, description |
Fields inherited from class org.jclouds.cim.SettingData |
---|
elementName, instanceID |
Constructor Summary | |
---|---|
ResourceAllocationSettingData(String elementName,
String instanceID,
String caption,
String description,
String address,
String addressOnParent,
String allocationUnits,
Boolean automaticAllocation,
Boolean automaticDeallocation,
ResourceAllocationSettingData.ConsumerVisibility consumerVisibility,
Long limit,
ResourceAllocationSettingData.MappingBehavior mappingBehavior,
String otherResourceType,
String parent,
String poolID,
Long reservation,
String resourceSubType,
ResourceAllocationSettingData.ResourceType resourceType,
Long virtualQuantity,
String virtualQuantityUnits,
Integer weight,
List<String> connections,
List<String> hostResources)
|
Method Summary | |
---|---|
static ResourceAllocationSettingData.Builder |
builder()
|
boolean |
equals(Object obj)
|
String |
getAddress()
The address of the resource. |
String |
getAddressOnParent()
Describes the address of this resource in the context of the Parent. |
String |
getAllocationUnits()
This property specifies the units of allocation used by the Reservation and Limit properties. |
List<String> |
getConnections()
The thing to which this resource is connected. |
ResourceAllocationSettingData.ConsumerVisibility |
getConsumerVisibility()
Describes the consumers visibility to the allocated resource. |
List<String> |
getHostResources()
This property exposes specific assignment of resources. |
Long |
getLimit()
This property specifies the upper bound, or maximum amount of resource that will be granted for this allocation. |
ResourceAllocationSettingData.MappingBehavior |
getMappingBehavior()
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. |
String |
getOtherResourceType()
A string that describes the resource type when a well defined value is not available and ResourceType has the value "Other". |
String |
getParent()
The Parent of the resource. |
String |
getPoolID()
This property specifies which ResourcePool the resource is currently allocated from, or which ResourcePool the resource will be allocated from when the allocation occurs. |
Long |
getReservation()
This property specifies the amount of resource guaranteed to be available for this allocation. |
String |
getResourceSubType()
A string describing an implementation specific sub-type for this resource. |
ResourceAllocationSettingData.ResourceType |
getResourceType()
The type of resource this allocation setting represents. |
Long |
getVirtualQuantity()
This property specifies the quantity of resources presented to the consumer. |
String |
getVirtualQuantityUnits()
This property specifies the units used by the VirtualQuantity property. |
Integer |
getWeight()
This property specifies a relative priority for this allocation in relation to other allocations from the same ResourcePool. |
int |
hashCode()
|
Boolean |
isAutomaticAllocation()
This property specifies if the resource will be automatically allocated. |
Boolean |
isAutomaticDeallocation()
This property specifies if the resource will be automatically de-allocated. |
ResourceAllocationSettingData.Builder |
toBuilder()
|
String |
toString()
|
Methods inherited from class org.jclouds.cim.ManagedElement |
---|
getCaption, getDescription |
Methods inherited from class org.jclouds.cim.SettingData |
---|
compareTo, getElementName, getInstanceID |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final String address
protected final String addressOnParent
protected final String allocationUnits
protected final Boolean automaticAllocation
protected final Boolean automaticDeallocation
protected final ResourceAllocationSettingData.ConsumerVisibility consumerVisibility
protected final Long limit
protected final ResourceAllocationSettingData.MappingBehavior mappingBehavior
protected final String otherResourceType
protected final String parent
protected final String poolID
protected final Long reservation
protected final String resourceSubType
protected final ResourceAllocationSettingData.ResourceType resourceType
protected final Long virtualQuantity
protected final String virtualQuantityUnits
protected final Integer weight
protected final List<String> connections
protected final List<String> hostResources
Constructor Detail |
---|
public ResourceAllocationSettingData(String elementName, String instanceID, String caption, String description, String address, String addressOnParent, String allocationUnits, Boolean automaticAllocation, Boolean automaticDeallocation, ResourceAllocationSettingData.ConsumerVisibility consumerVisibility, Long limit, ResourceAllocationSettingData.MappingBehavior mappingBehavior, String otherResourceType, String parent, String poolID, Long reservation, String resourceSubType, ResourceAllocationSettingData.ResourceType resourceType, Long virtualQuantity, String virtualQuantityUnits, Integer weight, List<String> connections, List<String> hostResources)
Method Detail |
---|
public static ResourceAllocationSettingData.Builder builder()
public ResourceAllocationSettingData.Builder toBuilder()
toBuilder
in class ManagedElement
public String getAddress()
public String getAddressOnParent()
public String getAllocationUnits()
public Boolean isAutomaticAllocation()
public Boolean isAutomaticDeallocation()
public ResourceAllocationSettingData.ConsumerVisibility getConsumerVisibility()
public Long getLimit()
public ResourceAllocationSettingData.MappingBehavior getMappingBehavior()
public String getOtherResourceType()
public String getParent()
public String getPoolID()
public Long getReservation()
public String getResourceSubType()
public ResourceAllocationSettingData.ResourceType getResourceType()
public Long getVirtualQuantity()
public String getVirtualQuantityUnits()
public Integer getWeight()
public List<String> getConnections()
public List<String> getHostResources()
public String toString()
toString
in class ManagedElement
public int hashCode()
hashCode
in class SettingData
public boolean equals(Object obj)
equals
in class SettingData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |