public class DiskInfo extends AbstractModel
Constructor and Description |
---|
DiskInfo() |
DiskInfo(DiskInfo 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 |
getDeleteWithInstance()
Get 是否随实例删除。
|
String |
getDiskId()
Get 磁盘ID
|
Long |
getDiskSize()
Get 磁盘大小(GB)
|
String |
getDiskType()
Get 磁盘类型:LOCAL_BASIC
|
String |
getSnapshotId()
Get 快照ID
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDeleteWithInstance(Boolean DeleteWithInstance)
Set 是否随实例删除。
|
void |
setDiskId(String DiskId)
Set 磁盘ID
|
void |
setDiskSize(Long DiskSize)
Set 磁盘大小(GB)
|
void |
setDiskType(String DiskType)
Set 磁盘类型:LOCAL_BASIC
|
void |
setSnapshotId(String SnapshotId)
Set 快照ID
注意:此字段可能返回 null,表示取不到有效值。
|
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 DiskInfo()
public DiskInfo(DiskInfo source)
public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- 磁盘类型:LOCAL_BASICpublic String getDiskId()
public void setDiskId(String DiskId)
DiskId
- 磁盘IDpublic Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- 磁盘大小(GB)public Boolean getDeleteWithInstance()
public void setDeleteWithInstance(Boolean DeleteWithInstance)
DeleteWithInstance
- 是否随实例删除。public String getSnapshotId()
public void setSnapshotId(String SnapshotId)
SnapshotId
- 快照ID
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.