public class DataDisk extends AbstractModel
| Constructor and Description | 
|---|
| DataDisk() | 
| DataDisk(DataDisk 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 | getDiskSize()Get Data disk size in GB. | 
| String | getDiskType()Get Data disk type. | 
| void | setDiskSize(Long DiskSize)Set Data disk size in GB. | 
| void | setDiskType(String DiskType)Set Data 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, toJsonStringpublic DataDisk()
public DataDisk(DataDisk source)
public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize - Data disk size in GB.public String getDiskType()
public void setDiskType(String DiskType)
DiskType - Data disk type. Valid values:
- LOCAL_BASIC: local disk
- CLOUD_PREMIUM: Premium Cloud Storage
Default value: LOCAL_BASIC.Copyright © 2022. All rights reserved.