public class TimerValue extends AbstractModel
Constructor and Description |
---|
TimerValue() |
TimerValue(TimerValue 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 |
---|---|
Long |
getDay()
Get Execute once every X day(s)
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getFromDay()
Get Specify the first day to execute the scaling action in a month (execute once per day)
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getToDay()
Get Specify the last day to execute the scaling action in a month
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long[] |
getWeekDays()
Get Specify the week days to repeat the scaling action.
|
void |
setDay(Long Day)
Set Execute once every X day(s)
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setFromDay(Long FromDay)
Set Specify the first day to execute the scaling action in a month (execute once per day)
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setToDay(Long ToDay)
Set Specify the last day to execute the scaling action in a month
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setWeekDays(Long[] WeekDays)
Set Specify the week days to repeat the scaling action.
|
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 TimerValue()
public TimerValue(TimerValue source)
public Long getDay()
public void setDay(Long Day)
Day
- Execute once every X day(s)
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getFromDay()
public void setFromDay(Long FromDay)
FromDay
- Specify the first day to execute the scaling action in a month (execute once per day)
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getToDay()
public void setToDay(Long ToDay)
ToDay
- Specify the last day to execute the scaling action in a month
Note: this field may return `null`, indicating that no valid values can be obtained.public Long[] getWeekDays()
public void setWeekDays(Long[] WeekDays)
WeekDays
- Specify the week days to repeat the scaling action. Multiple values are supported. Valid values: `1` (Monday), `2` (Tuesday), `3` (Wednesday), `4` (Thursday), `5` (Friday), `6` (Saturday), `7` (Sunday).
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.