org.jclouds.vcloud.director.v1_5.domain
Class Vdc.Builder<B extends Vdc.Builder<B>>

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.Resource.Builder<B>
      extended by org.jclouds.vcloud.director.v1_5.domain.Entity.Builder<B>
          extended by org.jclouds.vcloud.director.v1_5.domain.Vdc.Builder<B>
Direct Known Subclasses:
AdminVdc.Builder
Enclosing class:
Vdc

public abstract static class Vdc.Builder<B extends Vdc.Builder<B>>
extends Entity.Builder<B>


Constructor Summary
Vdc.Builder()
           
 
Method Summary
 B allocationModel(String allocationModel)
           
 B availableNetworks(Set<Reference> availableNetworks)
           
 Vdc build()
           
 B capabilities(Capabilities capabilities)
           
 B computeCapacity(ComputeCapacity computeCapacity)
           
 B fromVdc(Vdc in)
           
 B isEnabled(Boolean isEnabled)
           
 B network(Reference availableNetwork)
           
 B networkQuota(Integer networkQuota)
           
 B nicQuota(Integer nicQuota)
           
 B resourceEntities(Set<Reference> resourceEntities)
           
 B resourceEntity(Reference resourceEntity)
           
 B status(Integer status)
           
 B storageCapacity(CapacityWithUsage storageCapacity)
           
 B vmQuota(Integer vmQuota)
           
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Entity.Builder
description, fromEntityType, id, name, task, tasks
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource.Builder
fromResource, href, link, links, self, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vdc.Builder

public Vdc.Builder()
Method Detail

allocationModel

public B allocationModel(String allocationModel)
See Also:
Vdc.getAllocationModel()

storageCapacity

public B storageCapacity(CapacityWithUsage storageCapacity)
See Also:
Vdc.getStorageCapacity()

computeCapacity

public B computeCapacity(ComputeCapacity computeCapacity)
See Also:
Vdc.getComputeCapacity()

resourceEntities

public B resourceEntities(Set<Reference> resourceEntities)
See Also:
Vdc.getResourceEntities()

resourceEntity

public B resourceEntity(Reference resourceEntity)
See Also:
Vdc.getResourceEntities()

availableNetworks

public B availableNetworks(Set<Reference> availableNetworks)
See Also:
Vdc.getAvailableNetworks()

network

public B network(Reference availableNetwork)
See Also:
Vdc.getAvailableNetworks()

capabilities

public B capabilities(Capabilities capabilities)
See Also:
Vdc.getCapabilities()

nicQuota

public B nicQuota(Integer nicQuota)
See Also:
Vdc.getNicQuota()

networkQuota

public B networkQuota(Integer networkQuota)
See Also:
Vdc.getNetworkQuota()

vmQuota

public B vmQuota(Integer vmQuota)
See Also:
Vdc.getVmQuota()

isEnabled

public B isEnabled(Boolean isEnabled)
See Also:
Vdc.isEnabled()

status

public B status(Integer status)
See Also:
Vdc.getStatus()

build

public Vdc build()
Overrides:
build in class Entity.Builder<B extends Vdc.Builder<B>>

fromVdc

public B fromVdc(Vdc in)


Copyright © 2009-2012 jclouds. All Rights Reserved.