org.jclouds.savvis.vpdc.domain
Class VMSpec
java.lang.Object
org.jclouds.savvis.vpdc.domain.VMSpec
public class VMSpec
- extends Object
A specification to launch a virtual machine
- Author:
- Adrian Cole
VMSpec
protected VMSpec(String name,
String networkTierName,
CIMOperatingSystem operatingSystem,
int processorCount,
int memoryInGig,
String bootDeviceName,
int bootDriveSize,
Map<String,Integer> dataDriveDeviceNameToSizeInGig)
builder
public static VMSpec.Builder builder()
getName
public String getName()
getNetworkTierName
public String getNetworkTierName()
getOperatingSystem
public CIMOperatingSystem getOperatingSystem()
getProcessorCount
public int getProcessorCount()
getMemoryInGig
public int getMemoryInGig()
toBuilder
public VMSpec.Builder toBuilder()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getBootDeviceName
public String getBootDeviceName()
getBootDiskSize
public int getBootDiskSize()
getDataDiskDeviceNameToSizeInGig
public Map<String,Integer> getDataDiskDeviceNameToSizeInGig()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.