public class Rule extends AbstractModel
| Constructor and Description | 
|---|
| Rule() | 
| Rule(Rule 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 | getAddTime()Get Creation time | 
| DeadLetterConfig | getDeadLetterConfig()Get DLQ rule set by the rule, which may be null
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getDescription()Get Description | 
| Boolean | getEnable()Get Switch | 
| String | getEventBusId()Get Event bus ID | 
| String | getModTime()Get Modification time | 
| String | getRuleId()Get Rule ID | 
| String | getRuleName()Get Rule name | 
| String | getStatus()Get Status | 
| TargetBrief[] | getTargets()Get Target overview
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setAddTime(String AddTime)Set Creation time | 
| void | setDeadLetterConfig(DeadLetterConfig DeadLetterConfig)Set DLQ rule set by the rule, which may be null
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setDescription(String Description)Set Description | 
| void | setEnable(Boolean Enable)Set Switch | 
| void | setEventBusId(String EventBusId)Set Event bus ID | 
| void | setModTime(String ModTime)Set Modification time | 
| void | setRuleId(String RuleId)Set Rule ID | 
| void | setRuleName(String RuleName)Set Rule name | 
| void | setStatus(String Status)Set Status | 
| void | setTargets(TargetBrief[] Targets)Set Target overview
Note: this field may return null, indicating that no valid values can be obtained. | 
| 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, toJsonStringpublic Rule()
public Rule(Rule source)
public String getStatus()
public void setStatus(String Status)
Status - Statuspublic String getModTime()
public void setModTime(String ModTime)
ModTime - Modification timepublic Boolean getEnable()
public void setEnable(Boolean Enable)
Enable - Switchpublic String getDescription()
public void setDescription(String Description)
Description - Descriptionpublic String getRuleId()
public void setRuleId(String RuleId)
RuleId - Rule IDpublic String getAddTime()
public void setAddTime(String AddTime)
AddTime - Creation timepublic String getEventBusId()
public void setEventBusId(String EventBusId)
EventBusId - Event bus IDpublic String getRuleName()
public void setRuleName(String RuleName)
RuleName - Rule namepublic TargetBrief[] getTargets()
public void setTargets(TargetBrief[] Targets)
Targets - Target overview
Note: this field may return null, indicating that no valid values can be obtained.public DeadLetterConfig getDeadLetterConfig()
public void setDeadLetterConfig(DeadLetterConfig DeadLetterConfig)
DeadLetterConfig - DLQ rule set by the rule, which may be null
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.