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 |
---|---|
Boolean |
getAutoFormatAndMount()
Get Whether the disk is auto-formatted and mounted
Note: this field may return `null`, indicating that no valid value is obtained.
|
String |
getDiskPartition()
Get Mounted device name or partition name (only required when adding an existing node)
Note: This field may return `null`, indicating that no valid values can be obtained.
|
Long |
getDiskSize()
Get Disk size (G)
Note: This field may return null, indicating that no valid value was found.
|
String |
getDiskType()
Get Disk type
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getFileSystem()
Get File system (ext3/ext4/xfs)
Note: This field may return null, indicating that no valid value was found.
|
String |
getMountTarget()
Get Mounting directory
Note: This field may return null, indicating that no valid value was found.
|
void |
setAutoFormatAndMount(Boolean AutoFormatAndMount)
Set Whether the disk is auto-formatted and mounted
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setDiskPartition(String DiskPartition)
Set Mounted device name or partition name (only required when adding an existing node)
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setDiskSize(Long DiskSize)
Set Disk size (G)
Note: This field may return null, indicating that no valid value was found.
|
void |
setDiskType(String DiskType)
Set Disk type
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setFileSystem(String FileSystem)
Set File system (ext3/ext4/xfs)
Note: This field may return null, indicating that no valid value was found.
|
void |
setMountTarget(String MountTarget)
Set Mounting directory
Note: This field may return null, indicating that no valid value was found.
|
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 DataDisk()
public DataDisk(DataDisk source)
public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- Disk type
Note: this field may return null, indicating that no valid values can be obtained.public String getFileSystem()
public void setFileSystem(String FileSystem)
FileSystem
- File system (ext3/ext4/xfs)
Note: This field may return null, indicating that no valid value was found.public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- Disk size (G)
Note: This field may return null, indicating that no valid value was found.public Boolean getAutoFormatAndMount()
public void setAutoFormatAndMount(Boolean AutoFormatAndMount)
AutoFormatAndMount
- Whether the disk is auto-formatted and mounted
Note: this field may return `null`, indicating that no valid value is obtained.public String getMountTarget()
public void setMountTarget(String MountTarget)
MountTarget
- Mounting directory
Note: This field may return null, indicating that no valid value was found.public String getDiskPartition()
public void setDiskPartition(String DiskPartition)
DiskPartition
- Mounted device name or partition name (only required when adding an existing node)
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.