public class ModifyTimeWindowRequest extends AbstractModel
Constructor and Description |
---|
ModifyTimeWindowRequest() |
ModifyTimeWindowRequest(ModifyTimeWindowRequest 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 Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv.
|
Long |
getMaxDelayTime()
Get Data delay threshold.
|
String[] |
getTimeRanges()
Get Time period available for maintenance after modification in the format of 10:00-12:00.
|
String[] |
getWeekdays()
Get Specifies for which day to modify the time period.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv.
|
void |
setMaxDelayTime(Long MaxDelayTime)
Set Data delay threshold.
|
void |
setTimeRanges(String[] TimeRanges)
Set Time period available for maintenance after modification in the format of 10:00-12:00.
|
void |
setWeekdays(String[] Weekdays)
Set Specifies for which day to modify the time period.
|
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 ModifyTimeWindowRequest()
public ModifyTimeWindowRequest(ModifyTimeWindowRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page.public String[] getTimeRanges()
public void setTimeRanges(String[] TimeRanges)
TimeRanges
- Time period available for maintenance after modification in the format of 10:00-12:00. Each period lasts from half an hour to three hours, with the start time and end time aligned by half-hour. Up to two time periods can be set. Start and end time range: [00:00, 24:00].public String[] getWeekdays()
public void setWeekdays(String[] Weekdays)
Weekdays
- Specifies for which day to modify the time period. Value range: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. If it is not specified or is left blank, the time period will be modified for every day by default.public Long getMaxDelayTime()
public void setMaxDelayTime(Long MaxDelayTime)
MaxDelayTime
- Data delay threshold. It takes effect only for source instance and disaster recovery instance. Default value: 10.Copyright © 2023. All rights reserved.