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 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.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:
fromManagedElement
in classManagedElement.Builder
-
caption
public ResourceAllocationSettingData.Builder caption(String caption)
- Overrides:
caption
in classManagedElement.Builder
- See Also:
ManagedSettingData#getCaption
-
description
public ResourceAllocationSettingData.Builder description(String description)
- Overrides:
description
in classManagedElement.Builder
- See Also:
ManagedSettingData#getDescription
-
elementName
public ResourceAllocationSettingData.Builder elementName(String elementName)
- Overrides:
elementName
in classManagedElement.Builder
- See Also:
SettingData.getElementName()
-
instanceID
public ResourceAllocationSettingData.Builder instanceID(String instanceID)
- Overrides:
instanceID
in classManagedElement.Builder
- See Also:
SettingData.getInstanceID()
-
-