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 Expiration time of the snapshot.
|
Boolean |
getIsPermanent()
Get Snapshot retention mode.
|
String |
getSnapshotId()
Get Snapshot ID, which can be queried via [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1).
|
String |
getSnapshotName()
Get Name of new snapshot.
|
void |
setDeadline(String Deadline)
Set Expiration time of the snapshot.
|
void |
setIsPermanent(Boolean IsPermanent)
Set Snapshot retention mode.
|
void |
setSnapshotId(String SnapshotId)
Set Snapshot ID, which can be queried via [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1).
|
void |
setSnapshotName(String SnapshotName)
Set Name of new snapshot.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifySnapshotAttributeRequest()
public ModifySnapshotAttributeRequest(ModifySnapshotAttributeRequest source)
public String getSnapshotId()
public void setSnapshotId(String SnapshotId)
SnapshotId
- Snapshot ID, which can be queried via [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1).public String getSnapshotName()
public void setSnapshotName(String SnapshotName)
SnapshotName
- Name of new snapshot. Maximum length is 60 bytes.public Boolean getIsPermanent()
public void setIsPermanent(Boolean IsPermanent)
IsPermanent
- Snapshot retention mode. Valid values: `FALSE`: non-permanent retention; `TRUE`: permanent retention.public String getDeadline()
public void setDeadline(String Deadline)
Deadline
- Expiration time of the snapshot. Setting this parameter will set the snapshot retention mode to `FALSE` (non-permanent retention) and the snapshot will be automatically deleted upon expiration.Copyright © 2024. All rights reserved.