public class ModifySnapshotAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifySnapshotAttributeRequest() |
ModifySnapshotAttributeRequest(ModifySnapshotAttributeRequest 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 |
---|---|
String |
getDeadline()
Get 快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。
|
Boolean |
getIsPermanent()
Get 快照的保留方式,FALSE表示非永久保留,TRUE表示永久保留。
|
String |
getSnapshotId()
Get 快照ID, 可通过[DescribeSnapshots](/document/product/362/15647)查询。
|
String |
getSnapshotName()
Get 新的快照名称。最长为60个字符。
|
void |
setDeadline(String Deadline)
Set 快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。
|
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 ModifySnapshotAttributeRequest()
public ModifySnapshotAttributeRequest(ModifySnapshotAttributeRequest source)
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表示永久保留。public String getDeadline()
public void setDeadline(String Deadline)
Deadline
- 快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。Copyright © 2022. All rights reserved.