org.jclouds.savvis.vpdc.domain
Class VMSpec.Builder

java.lang.Object
  extended by org.jclouds.savvis.vpdc.domain.VMSpec.Builder
Enclosing class:
VMSpec

public static class VMSpec.Builder
extends Object


Constructor Summary
VMSpec.Builder()
           
 
Method Summary
 VMSpec.Builder addDataDrive(String dataDriveDeviceName, int sizeInGig)
           
 VMSpec.Builder addDataDrives(Map<String,Integer> dataDriveDeviceNameToSizeInGig)
           
 VMSpec.Builder bootDeviceName(String bootDeviceName)
           
 VMSpec.Builder bootDiskSize(int bootDriveSize)
           
 VMSpec build()
           
static VMSpec.Builder fromVMSpec(VMSpec in)
           
 VMSpec.Builder memoryInGig(int memoryInGig)
           
 VMSpec.Builder name(String name)
           
 VMSpec.Builder networkTierName(String networkTierName)
           
 VMSpec.Builder operatingSystem(CIMOperatingSystem operatingSystem)
           
 VMSpec.Builder processorCount(int processorCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMSpec.Builder

public VMSpec.Builder()
Method Detail

name

public VMSpec.Builder name(String name)

networkTierName

public VMSpec.Builder networkTierName(String networkTierName)

operatingSystem

public VMSpec.Builder operatingSystem(CIMOperatingSystem operatingSystem)

memoryInGig

public VMSpec.Builder memoryInGig(int memoryInGig)

processorCount

public VMSpec.Builder processorCount(int processorCount)

bootDeviceName

public VMSpec.Builder bootDeviceName(String bootDeviceName)

bootDiskSize

public VMSpec.Builder bootDiskSize(int bootDriveSize)

addDataDrive

public VMSpec.Builder addDataDrive(String dataDriveDeviceName,
                                   int sizeInGig)

addDataDrives

public VMSpec.Builder addDataDrives(Map<String,Integer> dataDriveDeviceNameToSizeInGig)

build

public VMSpec build()

fromVMSpec

public static VMSpec.Builder fromVMSpec(VMSpec in)


Copyright © 2009-2012 jclouds. All Rights Reserved.