public class PersistentVolumeContext extends AbstractModel
header, skipSign
Constructor and Description |
---|
PersistentVolumeContext() |
PersistentVolumeContext(PersistentVolumeContext source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDiskNum()
Get Number of disks.
|
Long |
getDiskSize()
Get Disk size in GB.
|
String |
getDiskType()
Get Disk type, CLOUD_PREMIUM or CLOUD_SSD.
|
Long |
getExtraPerformance()
Get Additional performance of cloud disks.
|
void |
setDiskNum(Long DiskNum)
Set Number of disks.
|
void |
setDiskSize(Long DiskSize)
Set Disk size in GB.
|
void |
setDiskType(String DiskType)
Set Disk type, CLOUD_PREMIUM or CLOUD_SSD.
|
void |
setExtraPerformance(Long ExtraPerformance)
Set Additional performance of cloud disks.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public PersistentVolumeContext()
public PersistentVolumeContext(PersistentVolumeContext source)
public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- Disk size in GB.public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- Disk type, CLOUD_PREMIUM or CLOUD_SSD.public Long getDiskNum()
public void setDiskNum(Long DiskNum)
DiskNum
- Number of disks.public Long getExtraPerformance()
public void setExtraPerformance(Long ExtraPerformance)
ExtraPerformance
- Additional performance of cloud disks.Copyright © 2025. All rights reserved.