public class ManualBackupInstanceRequest extends AbstractModel
header, skipSign
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 a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
String |
getRemark()
Get Remarks for manual backup task
|
Long |
getStorageDays()
Get Retention period of backup data in days.
|
void |
setInstanceId(String InstanceId)
Set ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
void |
setRemark(String Remark)
Set Remarks for manual backup task
|
void |
setStorageDays(Long StorageDays)
Set Retention period of backup data in days.
|
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 ManualBackupInstanceRequest()
public ManualBackupInstanceRequest(ManualBackupInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.public String getRemark()
public void setRemark(String Remark)
Remark
- Remarks for manual backup taskpublic Long getStorageDays()
public void setStorageDays(Long StorageDays)
StorageDays
- Retention period of backup data in days. Default value: 7 days. Value range: [0,1825]. If the value exceeds 7 days, [submit a ticket](https://console.cloud.tencent.com/workorder/category) for application. - If this parameter is not configured, it will set to be the same as the period of automatic backup retention. - If automatic backup is not set, the default value will be 7 days.Copyright © 2024. All rights reserved.