public class ModifyBackupConfigRequest extends AbstractModel
Constructor and Description |
---|
ModifyBackupConfigRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getBackupMethod()
Get Automatic backup mode.
|
CommonTimeWindow |
getBackupTimeWindow()
Get Backup time window; for example, to set up backup between 10:00 and 14:00 on every Tuesday and Sunday, you should set this parameter as follows: {"Monday": "", "Tuesday": "10:00-14:00", "Wednesday": "", "Thursday": "", "Friday": "", "Saturday": "", "Sunday": "10:00-14:00"} (Note: You can set up backup on different days, but the backup time windows need to be the same.
|
Long |
getBinlogExpireDays()
Get Binlog retention period in days.
|
Long |
getExpireDays()
Get Backup file retention period in days.
|
String |
getInstanceId()
Get Instance ID in the format of cdb-c1nl9rpv.
|
String |
getStartTime()
Get (This parameter will be disused.
|
void |
setBackupMethod(String BackupMethod)
Set Automatic backup mode.
|
void |
setBackupTimeWindow(CommonTimeWindow BackupTimeWindow)
Set Backup time window; for example, to set up backup between 10:00 and 14:00 on every Tuesday and Sunday, you should set this parameter as follows: {"Monday": "", "Tuesday": "10:00-14:00", "Wednesday": "", "Thursday": "", "Friday": "", "Saturday": "", "Sunday": "10:00-14:00"} (Note: You can set up backup on different days, but the backup time windows need to be the same.
|
void |
setBinlogExpireDays(Long BinlogExpireDays)
Set Binlog retention period in days.
|
void |
setExpireDays(Long ExpireDays)
Set Backup file retention period in days.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of cdb-c1nl9rpv.
|
void |
setStartTime(String StartTime)
Set (This parameter will be disused.
|
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 getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page.public Long getExpireDays()
public void setExpireDays(Long ExpireDays)
ExpireDays
- Backup file retention period in days. Value range: 7-732.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- (This parameter will be disused. The `BackupTimeWindow` parameter is recommended.) Backup time range in the format of 02:00-06:00, with the start time and end time on the hour. Valid values: 00:00-12:00, 02:00-06:00, 06:00-10:00, 10:00-14:00, 14:00-18:00, 18:00-22:00, 22:00-02:00.public String getBackupMethod()
public void setBackupMethod(String BackupMethod)
BackupMethod
- Automatic backup mode. Only `physical` (physical cold backup) is supportedpublic Long getBinlogExpireDays()
public void setBinlogExpireDays(Long BinlogExpireDays)
BinlogExpireDays
- Binlog retention period in days. Value range: 7-732. It cannot be greater than the retention period of backup files.public CommonTimeWindow getBackupTimeWindow()
public void setBackupTimeWindow(CommonTimeWindow BackupTimeWindow)
BackupTimeWindow
- Backup time window; for example, to set up backup between 10:00 and 14:00 on every Tuesday and Sunday, you should set this parameter as follows: {"Monday": "", "Tuesday": "10:00-14:00", "Wednesday": "", "Thursday": "", "Friday": "", "Saturday": "", "Sunday": "10:00-14:00"} (Note: You can set up backup on different days, but the backup time windows need to be the same. If this field is set, the `StartTime` field will be ignored)Copyright © 2020. All rights reserved.