public class CommonTimeWindow extends AbstractModel
Constructor and Description |
---|
CommonTimeWindow() |
CommonTimeWindow(CommonTimeWindow 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 |
getBackupPeriodStrategy()
Get Non-archive backup retention policy.
|
String |
getBackupPeriodTime()
Get Backup time by month in the format of 02:00–06:00, which is required when `BackupPeriodStrategy` is `monthly`.
|
Long[] |
getDays()
Get If `BackupPeriodStrategy` is `monthly`, you need to pass in the specific backup dates.
|
String |
getFriday()
Get Time window on Friday in the format of 02:00-06:00
|
String |
getMonday()
Get Time window on Monday in the format of 02:00-06:00
|
String |
getSaturday()
Get Time window on Saturday in the format of 02:00-06:00
|
String |
getSunday()
Get Time window on Sunday in the format of 02:00-06:00
|
String |
getThursday()
Get Time window on Thursday in the format of 02:00-06:00
|
String |
getTuesday()
Get Time window on Tuesday in the format of 02:00-06:00
|
String |
getWednesday()
Get Time window on Wednesday in the format of 02:00-06:00
|
void |
setBackupPeriodStrategy(String BackupPeriodStrategy)
Set Non-archive backup retention policy.
|
void |
setBackupPeriodTime(String BackupPeriodTime)
Set Backup time by month in the format of 02:00–06:00, which is required when `BackupPeriodStrategy` is `monthly`.
|
void |
setDays(Long[] Days)
Set If `BackupPeriodStrategy` is `monthly`, you need to pass in the specific backup dates.
|
void |
setFriday(String Friday)
Set Time window on Friday in the format of 02:00-06:00
|
void |
setMonday(String Monday)
Set Time window on Monday in the format of 02:00-06:00
|
void |
setSaturday(String Saturday)
Set Time window on Saturday in the format of 02:00-06:00
|
void |
setSunday(String Sunday)
Set Time window on Sunday in the format of 02:00-06:00
|
void |
setThursday(String Thursday)
Set Time window on Thursday in the format of 02:00-06:00
|
void |
setTuesday(String Tuesday)
Set Time window on Tuesday in the format of 02:00-06:00
|
void |
setWednesday(String Wednesday)
Set Time window on Wednesday in the format of 02:00-06:00
|
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 CommonTimeWindow()
public CommonTimeWindow(CommonTimeWindow source)
public String getMonday()
public void setMonday(String Monday)
Monday
- Time window on Monday in the format of 02:00-06:00public String getTuesday()
public void setTuesday(String Tuesday)
Tuesday
- Time window on Tuesday in the format of 02:00-06:00public String getWednesday()
public void setWednesday(String Wednesday)
Wednesday
- Time window on Wednesday in the format of 02:00-06:00public String getThursday()
public void setThursday(String Thursday)
Thursday
- Time window on Thursday in the format of 02:00-06:00public String getFriday()
public void setFriday(String Friday)
Friday
- Time window on Friday in the format of 02:00-06:00public String getSaturday()
public void setSaturday(String Saturday)
Saturday
- Time window on Saturday in the format of 02:00-06:00public String getSunday()
public void setSunday(String Sunday)
Sunday
- Time window on Sunday in the format of 02:00-06:00public String getBackupPeriodStrategy()
public void setBackupPeriodStrategy(String BackupPeriodStrategy)
BackupPeriodStrategy
- Non-archive backup retention policy. Valid values: `weekly` (back up by week), monthly (back up by month), default value: `weekly`.public Long[] getDays()
public void setDays(Long[] Days)
Days
- If `BackupPeriodStrategy` is `monthly`, you need to pass in the specific backup dates. The time interval between any two adjacent dates cannot exceed 2 days, for example, [1,4,7,9,11,14,17,19,22,25,28,30,31].public String getBackupPeriodTime()
public void setBackupPeriodTime(String BackupPeriodTime)
BackupPeriodTime
- Backup time by month in the format of 02:00–06:00, which is required when `BackupPeriodStrategy` is `monthly`.Copyright © 2023. All rights reserved.