Class TaskRule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tsf.v20180326.models.TaskRule
-
public class TaskRule extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExpression()Get Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。LonggetRepeatInterval()Get 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。StringgetRuleType()Get 触发规则类型, Cron/RepeatvoidsetExpression(String Expression)Set Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。voidsetRepeatInterval(Long RepeatInterval)Set 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。voidsetRuleType(String RuleType)Set 触发规则类型, Cron/RepeatvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TaskRule
public TaskRule()
-
TaskRule
public TaskRule(TaskRule 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.
-
-
Method Detail
-
getRuleType
public String getRuleType()
Get 触发规则类型, Cron/Repeat- Returns:
- RuleType 触发规则类型, Cron/Repeat
-
setRuleType
public void setRuleType(String RuleType)
Set 触发规则类型, Cron/Repeat- Parameters:
RuleType- 触发规则类型, Cron/Repeat
-
getExpression
public String getExpression()
Get Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Expression Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。
-
setExpression
public void setExpression(String Expression)
Set Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Expression- Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。
-
getRepeatInterval
public Long getRepeatInterval()
Get 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RepeatInterval 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。
-
setRepeatInterval
public void setRepeatInterval(Long RepeatInterval)
Set 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RepeatInterval- 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。
-
-