public class ScheduleSettings extends AbstractModel
Constructor and Description |
---|
ScheduleSettings() |
ScheduleSettings(ScheduleSettings 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 |
getInvokeTime()
Get The next execution time of the invoker.
|
String |
getPolicy()
Get Execution policy:
`ONCE`: Execute once `RECURRENCE`: Execute repeatedly |
String |
getRecurrence()
Get Trigger the crontab expression.
|
void |
setInvokeTime(String InvokeTime)
Set The next execution time of the invoker.
|
void |
setPolicy(String Policy)
Set Execution policy:
`ONCE`: Execute once `RECURRENCE`: Execute repeatedly |
void |
setRecurrence(String Recurrence)
Set Trigger the crontab expression.
|
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 ScheduleSettings()
public ScheduleSettings(ScheduleSettings source)
public String getPolicy()
public void setPolicy(String Policy)
Policy
- Execution policy:
public String getRecurrence()
public void setRecurrence(String Recurrence)
Recurrence
- Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8.public String getInvokeTime()
public void setInvokeTime(String InvokeTime)
InvokeTime
- The next execution time of the invoker. This field is required if `Policy` is `ONCE`.Copyright © 2023. All rights reserved.