public class CreateSnapshotRequest extends AbstractModel
Constructor and Description |
---|
CreateSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getDiskId()
Get ID of the cloud disk, for which a snapshot needs to be created.
|
String |
getSnapshotName()
Get Snapshot name.
|
void |
setDiskId(String DiskId)
Set ID of the cloud disk, for which a snapshot needs to be created.
|
void |
setSnapshotName(String SnapshotName)
Set Snapshot name.
|
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 String getDiskId()
public void setDiskId(String DiskId)
DiskId
- ID of the cloud disk, for which a snapshot needs to be created. It can be queried via the API [DescribeDisks](/document/product/362/16315).public String getSnapshotName()
public void setSnapshotName(String SnapshotName)
SnapshotName
- Snapshot name. If it is left empty, the new snapshot name is "Not named" by default.Copyright © 2020. All rights reserved.