public class UpdateCfsSnapshotAttributeRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| UpdateCfsSnapshotAttributeRequest() | 
| UpdateCfsSnapshotAttributeRequest(UpdateCfsSnapshotAttributeRequest 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 | getAliveDays()Get 文件系统快照保留天数,与SnapshotName必须填一个,如果原来是永久保留时间,不允许修改成短期有效期 | 
| String | getSnapshotId()Get 快照ID,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取 | 
| String | getSnapshotName()Get 文件系统快照名称,与AliveDays 必须填一个,快照名称,支持不超过64字符长度,支持中文、数字、_、- | 
| void | setAliveDays(Long AliveDays)Set 文件系统快照保留天数,与SnapshotName必须填一个,如果原来是永久保留时间,不允许修改成短期有效期 | 
| void | setSnapshotId(String SnapshotId)Set 快照ID,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取 | 
| void | setSnapshotName(String SnapshotName)Set 文件系统快照名称,与AliveDays 必须填一个,快照名称,支持不超过64字符长度,支持中文、数字、_、- | 
| 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 UpdateCfsSnapshotAttributeRequest()
public UpdateCfsSnapshotAttributeRequest(UpdateCfsSnapshotAttributeRequest source)
public String getSnapshotId()
public void setSnapshotId(String SnapshotId)
SnapshotId - 快照ID,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取public String getSnapshotName()
public void setSnapshotName(String SnapshotName)
SnapshotName - 文件系统快照名称,与AliveDays 必须填一个,快照名称,支持不超过64字符长度,支持中文、数字、_、-public Long getAliveDays()
public void setAliveDays(Long AliveDays)
AliveDays - 文件系统快照保留天数,与SnapshotName必须填一个,如果原来是永久保留时间,不允许修改成短期有效期Copyright © 2025. All rights reserved.