org.jclouds.cim
Class ResourceAllocationSettingData.Builder

java.lang.Object
  extended by org.jclouds.cim.SettingData.Builder
      extended by org.jclouds.cim.ManagedElement.Builder
          extended by org.jclouds.cim.ResourceAllocationSettingData.Builder
Direct Known Subclasses:
EditableResourceAllocationSettingData.Builder, VCloudHardDisk.Builder, VCloudNetworkAdapter.Builder
Enclosing class:
ResourceAllocationSettingData

public static class ResourceAllocationSettingData.Builder
extends ManagedElement.Builder


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.Builder
caption, description
 
Fields inherited from class org.jclouds.cim.SettingData.Builder
elementName, instanceID
 
Constructor Summary
ResourceAllocationSettingData.Builder()
           
 
Method Summary
 ResourceAllocationSettingData.Builder address(String address)
           
 ResourceAllocationSettingData.Builder addressOnParent(String addressOnParent)
           
 ResourceAllocationSettingData.Builder allocationUnits(String allocationUnits)
           
 ResourceAllocationSettingData.Builder automaticAllocation(Boolean automaticAllocation)
           
 ResourceAllocationSettingData.Builder automaticDeallocation(Boolean automaticDeallocation)
           
 ResourceAllocationSettingData build()
           
 ResourceAllocationSettingData.Builder caption(String caption)
          
 ResourceAllocationSettingData.Builder connection(String connection)
           
 ResourceAllocationSettingData.Builder connections(List<String> connections)
           
 ResourceAllocationSettingData.Builder consumerVisibility(ResourceAllocationSettingData.ConsumerVisibility consumerVisibility)
           
 ResourceAllocationSettingData.Builder description(String description)
          
 ResourceAllocationSettingData.Builder elementName(String elementName)
          
 ResourceAllocationSettingData.Builder fromManagedElement(ManagedElement in)
          
 ResourceAllocationSettingData.Builder fromResourceAllocationSettingData(ResourceAllocationSettingData in)
           
 ResourceAllocationSettingData.Builder hostResource(String hostResource)
           
 ResourceAllocationSettingData.Builder hostResources(List<String> hostResources)
           
 ResourceAllocationSettingData.Builder instanceID(String instanceID)
          
 ResourceAllocationSettingData.Builder limit(Long limit)
           
 ResourceAllocationSettingData.Builder mappingBehavior(ResourceAllocationSettingData.MappingBehavior mappingBehavior)
           
 ResourceAllocationSettingData.Builder otherResourceType(String otherResourceType)
           
 ResourceAllocationSettingData.Builder parent(String parent)
           
 ResourceAllocationSettingData.Builder poolID(String poolID)
           
 ResourceAllocationSettingData.Builder reservation(Long reservation)
           
 ResourceAllocationSettingData.Builder resourceSubType(String resourceSubType)
           
 ResourceAllocationSettingData.Builder resourceType(ResourceAllocationSettingData.ResourceType resourceType)
           
 ResourceAllocationSettingData.Builder virtualQuantity(Long virtualQuantity)
           
 ResourceAllocationSettingData.Builder virtualQuantityUnits(String virtualQuantityUnits)
           
 ResourceAllocationSettingData.Builder weight(Integer weight)
           
 
Methods inherited from class org.jclouds.cim.ManagedElement.Builder
fromSettingData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

connections

protected List<String> connections

hostResources

protected List<String> hostResources
Constructor Detail

ResourceAllocationSettingData.Builder

public ResourceAllocationSettingData.Builder()
Method Detail

address

public ResourceAllocationSettingData.Builder address(String address)
See Also:
ResourceAllocationSettingData.getAddress()

addressOnParent

public ResourceAllocationSettingData.Builder addressOnParent(String addressOnParent)
See Also:
ResourceAllocationSettingData.getAddressOnParent()

allocationUnits

public ResourceAllocationSettingData.Builder allocationUnits(String allocationUnits)
See Also:
ResourceAllocationSettingData.getAllocationUnits()

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)
See Also:
ResourceAllocationSettingData.getConsumerVisibility()

limit

public ResourceAllocationSettingData.Builder limit(Long limit)
See Also:
ResourceAllocationSettingData.getLimit()

mappingBehavior

public ResourceAllocationSettingData.Builder mappingBehavior(ResourceAllocationSettingData.MappingBehavior mappingBehavior)
See Also:
ResourceAllocationSettingData.getMappingBehavior()

otherResourceType

public ResourceAllocationSettingData.Builder otherResourceType(String otherResourceType)
See Also:
ResourceAllocationSettingData.getOtherResourceType()

parent

public ResourceAllocationSettingData.Builder parent(String parent)
See Also:
ResourceAllocationSettingData.getParent()

poolID

public ResourceAllocationSettingData.Builder poolID(String poolID)
See Also:
ResourceAllocationSettingData.getPoolID()

reservation

public ResourceAllocationSettingData.Builder reservation(Long reservation)
See Also:
ResourceAllocationSettingData.getReservation()

resourceSubType

public ResourceAllocationSettingData.Builder resourceSubType(String resourceSubType)
See Also:
ResourceAllocationSettingData.getResourceSubType()

resourceType

public ResourceAllocationSettingData.Builder resourceType(ResourceAllocationSettingData.ResourceType resourceType)
See Also:
ResourceAllocationSettingData.getResourceType()

virtualQuantity

public ResourceAllocationSettingData.Builder virtualQuantity(Long virtualQuantity)
See Also:
ResourceAllocationSettingData.getVirtualQuantity()

virtualQuantityUnits

public ResourceAllocationSettingData.Builder virtualQuantityUnits(String virtualQuantityUnits)
See Also:
ResourceAllocationSettingData.getVirtualQuantityUnits()

weight

public ResourceAllocationSettingData.Builder weight(Integer weight)
See Also:
ResourceAllocationSettingData.getWeight()

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)
See Also:
ResourceAllocationSettingData.getConnections()

hostResources

public ResourceAllocationSettingData.Builder hostResources(List<String> hostResources)
See Also:
ResourceAllocationSettingData.getHostResources()

build

public ResourceAllocationSettingData build()

fromResourceAllocationSettingData

public ResourceAllocationSettingData.Builder fromResourceAllocationSettingData(ResourceAllocationSettingData in)

fromManagedElement

public ResourceAllocationSettingData.Builder fromManagedElement(ManagedElement in)

Overrides:
fromManagedElement in class ManagedElement.Builder

caption

public ResourceAllocationSettingData.Builder caption(String caption)

Overrides:
caption in class ManagedElement.Builder
See Also:
ManagedSettingData#getCaption

description

public ResourceAllocationSettingData.Builder description(String description)

Overrides:
description in class ManagedElement.Builder
See Also:
ManagedSettingData#getDescription

elementName

public ResourceAllocationSettingData.Builder elementName(String elementName)

Overrides:
elementName in class ManagedElement.Builder
See Also:
SettingData.getElementName()

instanceID

public ResourceAllocationSettingData.Builder instanceID(String instanceID)

Overrides:
instanceID in class ManagedElement.Builder
See Also:
SettingData.getInstanceID()


Copyright © 2009-2011 jclouds. All Rights Reserved.