public class ResourceAllocationSettingData extends ManagedElement
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
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 |
caption, description
elementName, instanceID
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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() |
getCaption, getDescription
compareTo, getElementName, getInstanceID
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
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)
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
Copyright © 2009-2013 jclouds. All Rights Reserved.