com.baidubce.services.bmr.model
Class CdsItem

java.lang.Object
  extended by com.baidubce.services.bmr.model.CdsItem

public class CdsItem
extends Object


Constructor Summary
CdsItem()
           
 
Method Summary
 String getMediumType()
           
 int getSizeInGB()
           
 void setMediumType(String mediumType)
           
 void setSizeInGB(int sizeInGB)
           
 CdsItem withMediumType(String mediumType)
           
 CdsItem withSizeInGB(int sizeInGB)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdsItem

public CdsItem()
Method Detail

getSizeInGB

public int getSizeInGB()

setSizeInGB

public void setSizeInGB(int sizeInGB)

withSizeInGB

public CdsItem withSizeInGB(int sizeInGB)
Parameters:
sizeInGB - disk size
Returns:
CdsItem

getMediumType

public String getMediumType()

setMediumType

public void setMediumType(String mediumType)

withMediumType

public CdsItem withMediumType(String mediumType)
Parameters:
mediumType - for example ssd
Returns:
CdsItem


Copyright © 2020. All rights reserved.