org.jclouds.dmtf.cim
Class ResourceAllocationSettingData.Builder<B extends ResourceAllocationSettingData.Builder<B>>

java.lang.Object
  extended by org.jclouds.dmtf.cim.ResourceAllocationSettingData.Builder<B>
Direct Known Subclasses:
RasdItem.Builder
Enclosing class:
ResourceAllocationSettingData

public static class ResourceAllocationSettingData.Builder<B extends ResourceAllocationSettingData.Builder<B>>
extends Object


Constructor Summary
ResourceAllocationSettingData.Builder()
           
 
Method Summary
 B address(String address)
           
 B addressOnParent(String addressOnParent)
           
 B allocationUnits(String allocationUnits)
           
 B automaticAllocation(Boolean automaticAllocation)
           
 B automaticDeallocation(Boolean automaticDeallocation)
           
 ResourceAllocationSettingData build()
           
 B caption(String caption)
           
 B connection(CimString connection)
           
 B connections(Iterable<CimString> connections)
           
 B consumerVisibility(ResourceAllocationSettingData.ConsumerVisibility consumerVisibility)
           
 B description(String description)
           
 B elementName(String elementName)
           
 B fromResourceAllocationSettingData(ResourceAllocationSettingData in)
           
 B hostResource(CimString hostResource)
           
 B hostResources(Iterable<CimString> hostResources)
           
 B instanceID(String instanceID)
           
 B limit(BigInteger limit)
           
 B mappingBehavior(ResourceAllocationSettingData.MappingBehavior mappingBehavior)
           
 B otherResourceType(String otherResourceType)
           
 B parent(String parent)
           
 B poolID(String poolID)
           
 B reservation(BigInteger reservation)
           
 B resourceSubType(String resourceSubType)
           
 B resourceType(ResourceAllocationSettingData.ResourceType resourceType)
           
protected  B self()
           
 B virtualQuantity(BigInteger virtualQuantity)
           
 B virtualQuantityUnits(String virtualQuantityUnits)
           
 B weight(Long weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceAllocationSettingData.Builder

public ResourceAllocationSettingData.Builder()
Method Detail

self

protected B self()

elementName

public B elementName(String elementName)
See Also:
ResourceAllocationSettingData.getElementName()

instanceID

public B instanceID(String instanceID)
See Also:
ResourceAllocationSettingData#getInstanceId()

caption

public B caption(String caption)
See Also:
ResourceAllocationSettingData.getCaption()

description

public B description(String description)
See Also:
ResourceAllocationSettingData.getDescription()

address

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

addressOnParent

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

allocationUnits

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

automaticAllocation

public B automaticAllocation(Boolean automaticAllocation)
See Also:
ResourceAllocationSettingData.isAutomaticAllocation()

automaticDeallocation

public B automaticDeallocation(Boolean automaticDeallocation)
See Also:
ResourceAllocationSettingData.isAutomaticDeallocation()

consumerVisibility

public B consumerVisibility(ResourceAllocationSettingData.ConsumerVisibility consumerVisibility)
See Also:
ResourceAllocationSettingData.getConsumerVisibility()

limit

public B limit(BigInteger limit)
See Also:
ResourceAllocationSettingData.getLimit()

mappingBehavior

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

otherResourceType

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

parent

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

poolID

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

reservation

public B reservation(BigInteger reservation)
See Also:
ResourceAllocationSettingData.getReservation()

resourceSubType

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

resourceType

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

virtualQuantity

public B virtualQuantity(BigInteger virtualQuantity)
See Also:
ResourceAllocationSettingData.getVirtualQuantity()

virtualQuantityUnits

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

weight

public B weight(Long weight)
See Also:
ResourceAllocationSettingData.getWeight()

connection

public B connection(CimString connection)
See Also:
ResourceAllocationSettingData.getConnections()

connections

public B connections(Iterable<CimString> connections)
See Also:
ResourceAllocationSettingData.getConnections()

hostResource

public B hostResource(CimString hostResource)
See Also:
ResourceAllocationSettingData.getHostResources()

hostResources

public B hostResources(Iterable<CimString> hostResources)
See Also:
ResourceAllocationSettingData.getHostResources()

build

public ResourceAllocationSettingData build()

fromResourceAllocationSettingData

public B fromResourceAllocationSettingData(ResourceAllocationSettingData in)


Copyright © 2009-2012 jclouds. All Rights Reserved.