org.jclouds.savvis.vpdc.domain
Class VMSpec

java.lang.Object
  extended by org.jclouds.savvis.vpdc.domain.VMSpec

public class VMSpec
extends Object

A specification to launch a virtual machine

Author:
Adrian Cole

Nested Class Summary
static class VMSpec.Builder
           
 
Constructor Summary
protected VMSpec(String name, String networkTierName, CIMOperatingSystem operatingSystem, int processorCount, int memoryInGig, String bootDeviceName, int bootDriveSize, Map<String,Integer> dataDriveDeviceNameToSizeInGig)
           
 
Method Summary
static VMSpec.Builder builder()
           
 boolean equals(Object obj)
           
 String getBootDeviceName()
           
 int getBootDiskSize()
           
 Map<String,Integer> getDataDiskDeviceNameToSizeInGig()
           
 int getMemoryInGig()
           
 String getName()
           
 String getNetworkTierName()
           
 CIMOperatingSystem getOperatingSystem()
           
 int getProcessorCount()
           
 int hashCode()
           
 VMSpec.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VMSpec

protected VMSpec(String name,
                 String networkTierName,
                 CIMOperatingSystem operatingSystem,
                 int processorCount,
                 int memoryInGig,
                 String bootDeviceName,
                 int bootDriveSize,
                 Map<String,Integer> dataDriveDeviceNameToSizeInGig)
Method Detail

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-2011 jclouds. All Rights Reserved.