public class ModifySnapshotAttributeRequest extends AbstractModel
header, skipSign| 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 快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。注:该参数仅在参数IsPermanent为False时生效。 | 
| Boolean | getIsPermanent()Get 快照的保留方式,FALSE表示非永久保留,TRUE表示永久保留。 | 
| String | getSnapshotId()Get 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询。 | 
| String | getSnapshotName()Get 新的快照名称。最长为60个字符。 | 
| void | setDeadline(String Deadline)Set 快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。注:该参数仅在参数IsPermanent为False时生效。 | 
| void | setIsPermanent(Boolean IsPermanent)Set 快照的保留方式,FALSE表示非永久保留,TRUE表示永久保留。 | 
| void | setSnapshotId(String SnapshotId)Set 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ModifySnapshotAttributeRequest()
public ModifySnapshotAttributeRequest(ModifySnapshotAttributeRequest source)
public String getSnapshotId()
public void setSnapshotId(String SnapshotId)
SnapshotId - 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询。public Boolean getIsPermanent()
public void setIsPermanent(Boolean IsPermanent)
IsPermanent - 快照的保留方式,FALSE表示非永久保留,TRUE表示永久保留。public String getSnapshotName()
public void setSnapshotName(String SnapshotName)
SnapshotName - 新的快照名称。最长为60个字符。public String getDeadline()
public void setDeadline(String Deadline)
Deadline - 快照的到期时间;设置好快照将会被同时设置为非永久保留方式;超过到期时间后快照将会被自动删除。注:该参数仅在参数IsPermanent为False时生效。Copyright © 2025. All rights reserved.