public static class ResourceAllocationSettingData.Builder extends ManagedElement.Builder
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.Builder() |
fromSettingData
protected String address
protected String addressOnParent
protected String allocationUnits
protected Boolean automaticAllocation
protected Boolean automaticDeallocation
protected ResourceAllocationSettingData.ConsumerVisibility consumerVisibility
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
public ResourceAllocationSettingData.Builder()
public ResourceAllocationSettingData.Builder address(String address)
public ResourceAllocationSettingData.Builder addressOnParent(String addressOnParent)
public ResourceAllocationSettingData.Builder allocationUnits(String allocationUnits)
public ResourceAllocationSettingData.Builder automaticAllocation(Boolean automaticAllocation)
ResourceAllocationSettingData#getAutomaticAllocation
public ResourceAllocationSettingData.Builder automaticDeallocation(Boolean automaticDeallocation)
ResourceAllocationSettingData#getAutomaticDeallocation
public ResourceAllocationSettingData.Builder consumerVisibility(ResourceAllocationSettingData.ConsumerVisibility consumerVisibility)
public ResourceAllocationSettingData.Builder limit(Long limit)
public ResourceAllocationSettingData.Builder mappingBehavior(ResourceAllocationSettingData.MappingBehavior mappingBehavior)
public ResourceAllocationSettingData.Builder otherResourceType(String otherResourceType)
public ResourceAllocationSettingData.Builder parent(String parent)
public ResourceAllocationSettingData.Builder poolID(String poolID)
public ResourceAllocationSettingData.Builder reservation(Long reservation)
public ResourceAllocationSettingData.Builder resourceSubType(String resourceSubType)
public ResourceAllocationSettingData.Builder resourceType(ResourceAllocationSettingData.ResourceType resourceType)
public ResourceAllocationSettingData.Builder virtualQuantity(Long virtualQuantity)
public ResourceAllocationSettingData.Builder virtualQuantityUnits(String virtualQuantityUnits)
public ResourceAllocationSettingData.Builder weight(Integer weight)
public ResourceAllocationSettingData.Builder connection(String connection)
ResourceAllocationSettingData#getConnection
public ResourceAllocationSettingData.Builder hostResource(String hostResource)
ResourceAllocationSettingData#getHostResource
public ResourceAllocationSettingData.Builder connections(List<String> connections)
public ResourceAllocationSettingData.Builder hostResources(List<String> hostResources)
public ResourceAllocationSettingData build()
public ResourceAllocationSettingData.Builder fromResourceAllocationSettingData(ResourceAllocationSettingData in)
public ResourceAllocationSettingData.Builder fromManagedElement(ManagedElement in)
fromManagedElement
in class ManagedElement.Builder
public ResourceAllocationSettingData.Builder caption(String caption)
caption
in class ManagedElement.Builder
ManagedSettingData#getCaption
public ResourceAllocationSettingData.Builder description(String description)
description
in class ManagedElement.Builder
ManagedSettingData#getDescription
public ResourceAllocationSettingData.Builder elementName(String elementName)
elementName
in class ManagedElement.Builder
SettingData.getElementName()
public ResourceAllocationSettingData.Builder instanceID(String instanceID)
instanceID
in class ManagedElement.Builder
SettingData.getInstanceID()
Copyright © 2009-2012 jclouds. All Rights Reserved.