public class ApplySnapshotRequest extends AbstractModel
| Constructor and Description | 
|---|
| ApplySnapshotRequest() | 
| ApplySnapshotRequest(ApplySnapshotRequest 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 | 
|---|---|
| Boolean | getAutoStartInstance()Get Specifies whether to start up a CVM automatically after a rollback | 
| Boolean | getAutoStopInstance()Get Specifies whether to shut down a CVM automatically before a rollback | 
| String | getDiskId()Get ID of the original cloud disk corresponding to the snapshot, which can be queried via the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1). | 
| String | getSnapshotId()Get Snapshot ID, which can be queried via [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1). | 
| void | setAutoStartInstance(Boolean AutoStartInstance)Set Specifies whether to start up a CVM automatically after a rollback | 
| void | setAutoStopInstance(Boolean AutoStopInstance)Set Specifies whether to shut down a CVM automatically before a rollback | 
| void | setDiskId(String DiskId)Set ID of the original cloud disk corresponding to the snapshot, which can be queried via the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1). | 
| 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 | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic ApplySnapshotRequest()
public ApplySnapshotRequest(ApplySnapshotRequest 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 getDiskId()
public void setDiskId(String DiskId)
DiskId - ID of the original cloud disk corresponding to the snapshot, which can be queried via the API [DescribeDisks](https://intl.cloud.tencent.com/document/product/362/16315?from_cn_redirect=1).public Boolean getAutoStopInstance()
public void setAutoStopInstance(Boolean AutoStopInstance)
AutoStopInstance - Specifies whether to shut down a CVM automatically before a rollbackpublic Boolean getAutoStartInstance()
public void setAutoStartInstance(Boolean AutoStartInstance)
AutoStartInstance - Specifies whether to start up a CVM automatically after a rollbackCopyright © 2022. All rights reserved.