com.vmware.vcloud.sdk
Class VirtualMemory

java.lang.Object
  extended by com.vmware.vcloud.sdk.HardwareItem
      extended by com.vmware.vcloud.sdk.VirtualMemory

public class VirtualMemory
extends HardwareItem

Helper class to access the Virtual Memory Resource in vCloud API.

See Also:
RASDType

Method Summary
 BigInteger getMemorySize()
          Get the Virtual Memory Quantity in Mb
 void setMemorySize(BigInteger memorySize)
          Set the Virtual Memory Quantity in Mb.
 
Methods inherited from class com.vmware.vcloud.sdk.HardwareItem
getItemResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMemorySize

public BigInteger getMemorySize()
Get the Virtual Memory Quantity in Mb


setMemorySize

public void setMemorySize(BigInteger memorySize)
Set the Virtual Memory Quantity in Mb. Use the VM.updateMemory(VirtualMemory) to update the memory of the VM.

Since:
API 1.0, SDK 1.5


Copyright © 2016. All Rights Reserved.