public class Snapshot extends AbstractModel
| Constructor and Description | 
|---|
| Snapshot() | 
| Snapshot(Snapshot 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 | 
|---|---|
| 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 Snapshot()
public Snapshot(Snapshot source)
public 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 © 2022. All rights reserved.