public class Policy extends AbstractModel
Constructor and Description |
---|
Policy() |
Modifier and Type | Method and Description |
---|---|
Long[] |
getDayOfWeek()
Get Specifies the days of the week, from Monday to Sunday, on which a scheduled snapshot will be triggered.
|
Long[] |
getHour()
Get Specifies the time that that the scheduled snapshot policy will be triggered.
|
void |
setDayOfWeek(Long[] DayOfWeek)
Set Specifies the days of the week, from Monday to Sunday, on which a scheduled snapshot will be triggered.
|
void |
setHour(Long[] Hour)
Set Specifies the time that that the scheduled snapshot policy will be triggered.
|
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 Long[] getDayOfWeek()
public void setDayOfWeek(Long[] DayOfWeek)
DayOfWeek
- Specifies the days of the week, from Monday to Sunday, on which a scheduled snapshot will be triggered. Value range: [0, 6]. 0 indicates triggering on Sunday, 1-6 indicate triggering on Monday-Saturday.public Long[] getHour()
public void setHour(Long[] Hour)
Hour
- Specifies the time that that the scheduled snapshot policy will be triggered. The unit is hour. The value range is [0-23]. 00:00-23:00 is a total of 24 time points that can be selected. 1 indicates 01:00, and so on.Copyright © 2020. All rights reserved.