public class PersistentVolumeContext extends AbstractModel
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.
|
void |
setDiskNum(Long DiskNum)
Set Number of disks.
|
void |
setDiskSize(Long DiskSize)
Set Disk size in GB.
|
void |
setDiskType(String DiskType)
Set Disk type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public PersistentVolumeContext()
public PersistentVolumeContext(PersistentVolumeContext source)
public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- Disk size in GB.
Note: This field may return null, indicating that no valid values can be obtained.public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- Disk type. Valid values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
Note: This field may return null, indicating that no valid values can be obtained.public Long getDiskNum()
public void setDiskNum(Long DiskNum)
DiskNum
- Number of disks.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.