com.baidubce.services.bcc.model
Class InstanceTypeModel

java.lang.Object
  extended by com.baidubce.services.bcc.model.InstanceTypeModel

public class InstanceTypeModel
extends Object

The Specifications detail model for purchasing instance. See more detail on BCE API doc


Constructor Summary
InstanceTypeModel()
           
 
Method Summary
 int getCpuCount()
           
 int getLocalDiskSizeInGB()
           
 int getMemorySizeInGB()
           
 String getName()
           
 String getType()
           
 void setCpuCount(int cpuCount)
           
 void setLocalDiskSizeInGB(int localDiskSizeInGB)
           
 void setMemorySizeInGB(int memorySizeInGB)
           
 void setName(String name)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceTypeModel

public InstanceTypeModel()
Method Detail

getType

public String getType()

setType

public void setType(String type)

getName

public String getName()

setName

public void setName(String name)

getCpuCount

public int getCpuCount()

setCpuCount

public void setCpuCount(int cpuCount)

getMemorySizeInGB

public int getMemorySizeInGB()

setMemorySizeInGB

public void setMemorySizeInGB(int memorySizeInGB)

getLocalDiskSizeInGB

public int getLocalDiskSizeInGB()

setLocalDiskSizeInGB

public void setLocalDiskSizeInGB(int localDiskSizeInGB)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.