public class Disk extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
Disk()  | 
Disk(Disk 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 | 
|---|---|
Boolean | 
getAutoFormatAndMount()
Get Whether to automatically format and mount disks. 
 | 
Long | 
getDiskSize()
Get Cloud disk size (GB) 
 | 
String | 
getDiskType()
Get Cloud disk type 
 | 
String | 
getFileSystem()
Get File system 
 | 
String | 
getMountTarget()
Get Mounting directory 
 | 
void | 
setAutoFormatAndMount(Boolean AutoFormatAndMount)
Set Whether to automatically format and mount disks. 
 | 
void | 
setDiskSize(Long DiskSize)
Set Cloud disk size (GB) 
 | 
void | 
setDiskType(String DiskType)
Set Cloud disk type 
 | 
void | 
setFileSystem(String FileSystem)
Set File system 
 | 
void | 
setMountTarget(String MountTarget)
Set Mounting directory 
 | 
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, toJsonStringpublic Disk()
public Disk(Disk source)
public String getDiskType()
public void setDiskType(String DiskType)
DiskType - Cloud disk typepublic Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize - Cloud disk size (GB)public Boolean getAutoFormatAndMount()
public void setAutoFormatAndMount(Boolean AutoFormatAndMount)
AutoFormatAndMount - Whether to automatically format and mount disks.public String getFileSystem()
public void setFileSystem(String FileSystem)
FileSystem - File systempublic String getMountTarget()
public void setMountTarget(String MountTarget)
MountTarget - Mounting directoryCopyright © 2025. All rights reserved.