public class ManualBackupInstanceRequest extends AbstractModel
Constructor and Description |
---|
ManualBackupInstanceRequest() |
ManualBackupInstanceRequest(ManualBackupInstanceRequest 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 |
getInstanceId()
Get ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstance` API.
|
String |
getRemark()
Get Backup remarks
|
Long |
getStorageDays()
Get Retention time in days.
|
void |
setInstanceId(String InstanceId)
Set ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstance` API.
|
void |
setRemark(String Remark)
Set Backup remarks
|
void |
setStorageDays(Long StorageDays)
Set Retention time in days.
|
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 ManualBackupInstanceRequest()
public ManualBackupInstanceRequest(ManualBackupInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstance` API.public String getRemark()
public void setRemark(String Remark)
Remark
- Backup remarkspublic Long getStorageDays()
public void setStorageDays(Long StorageDays)
StorageDays
- Retention time in days. 0 indicates the default retention time.Copyright © 2023. All rights reserved.