public class ModifyTimeWindowRequest extends AbstractModel
Constructor and Description |
---|
ModifyTimeWindowRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId()
Get Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv.
|
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 |
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 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.Copyright © 2020. All rights reserved.