org.jclouds.savvis.vpdc.domain
Class VMSpec.Builder
java.lang.Object
org.jclouds.savvis.vpdc.domain.VMSpec.Builder
- Enclosing class:
- VMSpec
public static class VMSpec.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMSpec.Builder
public VMSpec.Builder()
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.