public class Snapshot extends AbstractModel
| Constructor and Description | 
|---|
| Snapshot() | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getDiskSize()Get Size of the cloud disk used to create the snapshot; unit: GB. | 
| String | getDiskUsage()Get Type of the cloud disk used to create the snapshot. | 
| String | getSnapshotId()Get Snapshot ID. | 
| void | setDiskSize(Long DiskSize)Set Size of the cloud disk used to create the snapshot; unit: GB. | 
| void | setDiskUsage(String DiskUsage)Set Type of the cloud disk used to create the snapshot. | 
| void | setSnapshotId(String SnapshotId)Set Snapshot ID. | 
| 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, toJsonStringpublic String getSnapshotId()
public void setSnapshotId(String SnapshotId)
SnapshotId - Snapshot ID.public String getDiskUsage()
public void setDiskUsage(String DiskUsage)
DiskUsage - Type of the cloud disk used to create the snapshot. Valid values:
SYSTEM_DISK: system disk
DATA_DISK: data diskpublic Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize - Size of the cloud disk used to create the snapshot; unit: GB.Copyright © 2020. All rights reserved.