public class DataDisk extends AbstractModel
header, skipSign| 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 | 
|---|---|
| Boolean | getAutoFormatAndMount()Get 是否自动化格式盘并挂载
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getDiskPartition()Get 挂载设备名或分区名
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getDiskSize()Get 云盘大小(G)
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getDiskType()Get 云盘类型
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getEncrypt()Get 传入该参数用于创建加密云盘,取值固定为ENCRYPT
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getFileSystem()Get 文件系统(ext3/ext4/xfs)
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getKmsKeyId()Get 购买加密盘时自定义密钥,当传入该参数时, Encrypt入参不为空
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getMountTarget()Get 挂载目录
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getSnapshotId()Get 快照ID,如果传入则根据此快照创建云硬盘,快照类型必须为数据盘快照
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getThroughputPerformance()Get 云硬盘性能,单位:MB/s。使用此参数可给云硬盘购买额外的性能
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setAutoFormatAndMount(Boolean AutoFormatAndMount)Set 是否自动化格式盘并挂载
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDiskPartition(String DiskPartition)Set 挂载设备名或分区名
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDiskSize(Long DiskSize)Set 云盘大小(G)
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDiskType(String DiskType)Set 云盘类型
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setEncrypt(String Encrypt)Set 传入该参数用于创建加密云盘,取值固定为ENCRYPT
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setFileSystem(String FileSystem)Set 文件系统(ext3/ext4/xfs)
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setKmsKeyId(String KmsKeyId)Set 购买加密盘时自定义密钥,当传入该参数时, Encrypt入参不为空
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setMountTarget(String MountTarget)Set 挂载目录
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setSnapshotId(String SnapshotId)Set 快照ID,如果传入则根据此快照创建云硬盘,快照类型必须为数据盘快照
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setThroughputPerformance(Long ThroughputPerformance)Set 云硬盘性能,单位:MB/s。使用此参数可给云硬盘购买额外的性能
注意:此字段可能返回 null,表示取不到有效值。 | 
| 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 DataDisk()
public DataDisk(DataDisk source)
public String getDiskType()
public void setDiskType(String DiskType)
DiskType - 云盘类型
注意:此字段可能返回 null,表示取不到有效值。public String getFileSystem()
public void setFileSystem(String FileSystem)
FileSystem - 文件系统(ext3/ext4/xfs)
注意:此字段可能返回 null,表示取不到有效值。public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize - 云盘大小(G)
注意:此字段可能返回 null,表示取不到有效值。public Boolean getAutoFormatAndMount()
public void setAutoFormatAndMount(Boolean AutoFormatAndMount)
AutoFormatAndMount - 是否自动化格式盘并挂载
注意:此字段可能返回 null,表示取不到有效值。public String getDiskPartition()
public void setDiskPartition(String DiskPartition)
DiskPartition - 挂载设备名或分区名
注意:此字段可能返回 null,表示取不到有效值。public String getMountTarget()
public void setMountTarget(String MountTarget)
MountTarget - 挂载目录
注意:此字段可能返回 null,表示取不到有效值。public String getEncrypt()
public void setEncrypt(String Encrypt)
Encrypt - 传入该参数用于创建加密云盘,取值固定为ENCRYPT
注意:此字段可能返回 null,表示取不到有效值。public String getKmsKeyId()
public void setKmsKeyId(String KmsKeyId)
KmsKeyId - 购买加密盘时自定义密钥,当传入该参数时, Encrypt入参不为空
注意:此字段可能返回 null,表示取不到有效值。public String getSnapshotId()
public void setSnapshotId(String SnapshotId)
SnapshotId - 快照ID,如果传入则根据此快照创建云硬盘,快照类型必须为数据盘快照
注意:此字段可能返回 null,表示取不到有效值。public Long getThroughputPerformance()
public void setThroughputPerformance(Long ThroughputPerformance)
ThroughputPerformance - 云硬盘性能,单位:MB/s。使用此参数可给云硬盘购买额外的性能
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.