public class ModifySnapshotAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifySnapshotAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getIsPermanent()
Get The retention time of the snapshot.
|
String |
getSnapshotId()
Get Snapshot ID, which can be queried via [DescribeSnapshots](/document/product/362/15647).
|
String |
getSnapshotName()
Get Name of new snapshot.
|
void |
setIsPermanent(Boolean IsPermanent)
Set The retention time of the snapshot.
|
void |
setSnapshotId(String SnapshotId)
Set Snapshot ID, which can be queried via [DescribeSnapshots](/document/product/362/15647).
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getSnapshotId()
public void setSnapshotId(String SnapshotId)
SnapshotId
- Snapshot ID, which can be queried via [DescribeSnapshots](/document/product/362/15647).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
- The retention time of the snapshot. FALSE: non-permanent retention; TRUE: permanent retention. You can only modify non-permanent snapshots to permanent snapshots.Copyright © 2020. All rights reserved.