Class DataDisk
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.DataDisk
-
public class DataDisk extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAutoFormatAndMount()Get 是否自动化格式盘并挂载 注意:此字段可能返回 null,表示取不到有效值。StringgetDiskPartition()Get 挂载设备名或分区名,当且仅当添加已有节点时需要 注意:此字段可能返回 null,表示取不到有效值。LonggetDiskSize()Get 云盘大小(G) 注意:此字段可能返回 null,表示取不到有效值。StringgetDiskType()Get 云盘类型 注意:此字段可能返回 null,表示取不到有效值。StringgetFileSystem()Get 文件系统(ext3/ext4/xfs) 注意:此字段可能返回 null,表示取不到有效值。StringgetMountTarget()Get 挂载目录 注意:此字段可能返回 null,表示取不到有效值。voidsetAutoFormatAndMount(Boolean AutoFormatAndMount)Set 是否自动化格式盘并挂载 注意:此字段可能返回 null,表示取不到有效值。voidsetDiskPartition(String DiskPartition)Set 挂载设备名或分区名,当且仅当添加已有节点时需要 注意:此字段可能返回 null,表示取不到有效值。voidsetDiskSize(Long DiskSize)Set 云盘大小(G) 注意:此字段可能返回 null,表示取不到有效值。voidsetDiskType(String DiskType)Set 云盘类型 注意:此字段可能返回 null,表示取不到有效值。voidsetFileSystem(String FileSystem)Set 文件系统(ext3/ext4/xfs) 注意:此字段可能返回 null,表示取不到有效值。voidsetMountTarget(String MountTarget)Set 挂载目录 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DataDisk
public DataDisk()
-
DataDisk
public 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.
-
-
Method Detail
-
getDiskType
public String getDiskType()
Get 云盘类型 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DiskType 云盘类型 注意:此字段可能返回 null,表示取不到有效值。
-
setDiskType
public void setDiskType(String DiskType)
Set 云盘类型 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DiskType- 云盘类型 注意:此字段可能返回 null,表示取不到有效值。
-
getFileSystem
public String getFileSystem()
Get 文件系统(ext3/ext4/xfs) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FileSystem 文件系统(ext3/ext4/xfs) 注意:此字段可能返回 null,表示取不到有效值。
-
setFileSystem
public void setFileSystem(String FileSystem)
Set 文件系统(ext3/ext4/xfs) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FileSystem- 文件系统(ext3/ext4/xfs) 注意:此字段可能返回 null,表示取不到有效值。
-
getDiskSize
public Long getDiskSize()
Get 云盘大小(G) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DiskSize 云盘大小(G) 注意:此字段可能返回 null,表示取不到有效值。
-
setDiskSize
public void setDiskSize(Long DiskSize)
Set 云盘大小(G) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DiskSize- 云盘大小(G) 注意:此字段可能返回 null,表示取不到有效值。
-
getAutoFormatAndMount
public Boolean getAutoFormatAndMount()
Get 是否自动化格式盘并挂载 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AutoFormatAndMount 是否自动化格式盘并挂载 注意:此字段可能返回 null,表示取不到有效值。
-
setAutoFormatAndMount
public void setAutoFormatAndMount(Boolean AutoFormatAndMount)
Set 是否自动化格式盘并挂载 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AutoFormatAndMount- 是否自动化格式盘并挂载 注意:此字段可能返回 null,表示取不到有效值。
-
getMountTarget
public String getMountTarget()
Get 挂载目录 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MountTarget 挂载目录 注意:此字段可能返回 null,表示取不到有效值。
-
setMountTarget
public void setMountTarget(String MountTarget)
Set 挂载目录 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MountTarget- 挂载目录 注意:此字段可能返回 null,表示取不到有效值。
-
getDiskPartition
public String getDiskPartition()
Get 挂载设备名或分区名,当且仅当添加已有节点时需要 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DiskPartition 挂载设备名或分区名,当且仅当添加已有节点时需要 注意:此字段可能返回 null,表示取不到有效值。
-
setDiskPartition
public void setDiskPartition(String DiskPartition)
Set 挂载设备名或分区名,当且仅当添加已有节点时需要 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DiskPartition- 挂载设备名或分区名,当且仅当添加已有节点时需要 注意:此字段可能返回 null,表示取不到有效值。
-
-