public class ModifySnapshotAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifySnapshotAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getIsPermanent()
Get 快照的保留时间,FALSE表示非永久保留,TRUE表示永久保留。仅支持将非永久快照修改为永久快照。
|
String |
getSnapshotId()
Get 快照ID, 可通过[DescribeSnapshots](/document/product/362/15647)查询。
|
String |
getSnapshotName()
Get 新的快照名称。最长为60个字符。
|
void |
setIsPermanent(Boolean IsPermanent)
Set 快照的保留时间,FALSE表示非永久保留,TRUE表示永久保留。仅支持将非永久快照修改为永久快照。
|
void |
setSnapshotId(String SnapshotId)
Set 快照ID, 可通过[DescribeSnapshots](/document/product/362/15647)查询。
|
void |
setSnapshotName(String SnapshotName)
Set 新的快照名称。最长为60个字符。
|
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 getSnapshotId()
public void setSnapshotId(String SnapshotId)
SnapshotId
- 快照ID, 可通过[DescribeSnapshots](/document/product/362/15647)查询。public String getSnapshotName()
public void setSnapshotName(String SnapshotName)
SnapshotName
- 新的快照名称。最长为60个字符。public Boolean getIsPermanent()
public void setIsPermanent(Boolean IsPermanent)
IsPermanent
- 快照的保留时间,FALSE表示非永久保留,TRUE表示永久保留。仅支持将非永久快照修改为永久快照。Copyright © 2020. All rights reserved.