Package org.jclouds.cim
Class ResourceAllocationSettingData.Builder
- java.lang.Object
 - 
- org.jclouds.cim.SettingData.Builder
 - 
- org.jclouds.cim.ManagedElement.Builder
 - 
- org.jclouds.cim.ResourceAllocationSettingData.Builder
 
 
 
 
- 
- Enclosing class:
 - ResourceAllocationSettingData
 
public static class ResourceAllocationSettingData.Builder extends ManagedElement.Builder
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Stringaddressprotected StringaddressOnParentprotected StringallocationUnitsprotected BooleanautomaticAllocationprotected BooleanautomaticDeallocationprotected List<String>connectionsprotected ResourceAllocationSettingData.ConsumerVisibilityconsumerVisibilityprotected List<String>hostResourcesprotected Longlimitprotected ResourceAllocationSettingData.MappingBehaviormappingBehaviorprotected StringotherResourceTypeprotected Stringparentprotected StringpoolIDprotected Longreservationprotected StringresourceSubTypeprotected ResourceAllocationSettingData.ResourceTyperesourceTypeprotected LongvirtualQuantityprotected StringvirtualQuantityUnitsprotected Integerweight- 
Fields inherited from class org.jclouds.cim.ManagedElement.Builder
caption, description 
- 
Fields inherited from class org.jclouds.cim.SettingData.Builder
elementName, instanceID 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
- 
Methods inherited from class org.jclouds.cim.ManagedElement.Builder
fromSettingData 
 - 
 
 - 
 
- 
- 
Field Detail
- 
address
protected String address
 
- 
addressOnParent
protected String addressOnParent
 
- 
allocationUnits
protected String allocationUnits
 
- 
automaticAllocation
protected Boolean automaticAllocation
 
- 
automaticDeallocation
protected Boolean automaticDeallocation
 
- 
consumerVisibility
protected ResourceAllocationSettingData.ConsumerVisibility consumerVisibility
 
- 
limit
protected Long limit
 
- 
mappingBehavior
protected ResourceAllocationSettingData.MappingBehavior mappingBehavior
 
- 
otherResourceType
protected String otherResourceType
 
- 
parent
protected String parent
 
- 
poolID
protected String poolID
 
- 
reservation
protected Long reservation
 
- 
resourceSubType
protected String resourceSubType
 
- 
resourceType
protected ResourceAllocationSettingData.ResourceType resourceType
 
- 
virtualQuantity
protected Long virtualQuantity
 
- 
virtualQuantityUnits
protected String virtualQuantityUnits
 
- 
weight
protected Integer weight
 
 - 
 
- 
Method Detail
- 
address
public ResourceAllocationSettingData.Builder address(String address)
 
- 
addressOnParent
public ResourceAllocationSettingData.Builder addressOnParent(String addressOnParent)
 
- 
allocationUnits
public ResourceAllocationSettingData.Builder allocationUnits(String allocationUnits)
 
- 
automaticAllocation
public ResourceAllocationSettingData.Builder automaticAllocation(Boolean automaticAllocation)
- See Also:
 ResourceAllocationSettingData#getAutomaticAllocation
 
- 
automaticDeallocation
public ResourceAllocationSettingData.Builder automaticDeallocation(Boolean automaticDeallocation)
- See Also:
 ResourceAllocationSettingData#getAutomaticDeallocation
 
- 
consumerVisibility
public ResourceAllocationSettingData.Builder consumerVisibility(ResourceAllocationSettingData.ConsumerVisibility consumerVisibility)
 
- 
limit
public ResourceAllocationSettingData.Builder limit(Long limit)
- See Also:
 ResourceAllocationSettingData.getLimit()
 
- 
mappingBehavior
public ResourceAllocationSettingData.Builder mappingBehavior(ResourceAllocationSettingData.MappingBehavior mappingBehavior)
 
- 
otherResourceType
public ResourceAllocationSettingData.Builder otherResourceType(String otherResourceType)
 
- 
parent
public ResourceAllocationSettingData.Builder parent(String parent)
 
- 
poolID
public ResourceAllocationSettingData.Builder poolID(String poolID)
 
- 
reservation
public ResourceAllocationSettingData.Builder reservation(Long reservation)
 
- 
resourceSubType
public ResourceAllocationSettingData.Builder resourceSubType(String resourceSubType)
 
- 
resourceType
public ResourceAllocationSettingData.Builder resourceType(ResourceAllocationSettingData.ResourceType resourceType)
 
- 
virtualQuantity
public ResourceAllocationSettingData.Builder virtualQuantity(Long virtualQuantity)
 
- 
virtualQuantityUnits
public ResourceAllocationSettingData.Builder virtualQuantityUnits(String virtualQuantityUnits)
 
- 
weight
public ResourceAllocationSettingData.Builder weight(Integer weight)
 
- 
connection
public ResourceAllocationSettingData.Builder connection(String connection)
- See Also:
 ResourceAllocationSettingData#getConnection
 
- 
hostResource
public ResourceAllocationSettingData.Builder hostResource(String hostResource)
- See Also:
 ResourceAllocationSettingData#getHostResource
 
- 
connections
public ResourceAllocationSettingData.Builder connections(List<String> connections)
 
- 
hostResources
public ResourceAllocationSettingData.Builder hostResources(List<String> hostResources)
 
- 
build
public ResourceAllocationSettingData build()
 
- 
fromResourceAllocationSettingData
public ResourceAllocationSettingData.Builder fromResourceAllocationSettingData(ResourceAllocationSettingData in)
 
- 
fromManagedElement
public ResourceAllocationSettingData.Builder fromManagedElement(ManagedElement in)
- Overrides:
 fromManagedElementin classManagedElement.Builder
 
- 
caption
public ResourceAllocationSettingData.Builder caption(String caption)
- Overrides:
 captionin classManagedElement.Builder- See Also:
 ManagedSettingData#getCaption
 
- 
description
public ResourceAllocationSettingData.Builder description(String description)
- Overrides:
 descriptionin classManagedElement.Builder- See Also:
 ManagedSettingData#getDescription
 
- 
elementName
public ResourceAllocationSettingData.Builder elementName(String elementName)
- Overrides:
 elementNamein classManagedElement.Builder- See Also:
 SettingData.getElementName()
 
- 
instanceID
public ResourceAllocationSettingData.Builder instanceID(String instanceID)
- Overrides:
 instanceIDin classManagedElement.Builder- See Also:
 SettingData.getInstanceID()
 
 - 
 
 -