Class Rule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.eb.v20210416.models.Rule
-
public class Rule 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 StringgetAddTime()Get 创建时间DeadLetterConfiggetDeadLetterConfig()Get rule设置的dlq规则.StringgetDescription()Get 描述BooleangetEnable()Get 使能开关StringgetEventBusId()Get 事件集IDStringgetModTime()Get 修改时间StringgetRuleId()Get 规则IDStringgetRuleName()Get 规则名称StringgetStatus()Get 状态TargetBrief[]getTargets()Get Target 简要信息 注意:此字段可能返回 null,表示取不到有效值。voidsetAddTime(String AddTime)Set 创建时间voidsetDeadLetterConfig(DeadLetterConfig DeadLetterConfig)Set rule设置的dlq规则.voidsetDescription(String Description)Set 描述voidsetEnable(Boolean Enable)Set 使能开关voidsetEventBusId(String EventBusId)Set 事件集IDvoidsetModTime(String ModTime)Set 修改时间voidsetRuleId(String RuleId)Set 规则IDvoidsetRuleName(String RuleName)Set 规则名称voidsetStatus(String Status)Set 状态voidsetTargets(TargetBrief[] Targets)Set Target 简要信息 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(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
-
Rule
public Rule()
-
Rule
public 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.
-
-
Method Detail
-
getStatus
public String getStatus()
Get 状态- Returns:
- Status 状态
-
setStatus
public void setStatus(String Status)
Set 状态- Parameters:
Status- 状态
-
getModTime
public String getModTime()
Get 修改时间- Returns:
- ModTime 修改时间
-
setModTime
public void setModTime(String ModTime)
Set 修改时间- Parameters:
ModTime- 修改时间
-
getEnable
public Boolean getEnable()
Get 使能开关- Returns:
- Enable 使能开关
-
setEnable
public void setEnable(Boolean Enable)
Set 使能开关- Parameters:
Enable- 使能开关
-
getDescription
public String getDescription()
Get 描述- Returns:
- Description 描述
-
setDescription
public void setDescription(String Description)
Set 描述- Parameters:
Description- 描述
-
getRuleId
public String getRuleId()
Get 规则ID- Returns:
- RuleId 规则ID
-
setRuleId
public void setRuleId(String RuleId)
Set 规则ID- Parameters:
RuleId- 规则ID
-
getAddTime
public String getAddTime()
Get 创建时间- Returns:
- AddTime 创建时间
-
setAddTime
public void setAddTime(String AddTime)
Set 创建时间- Parameters:
AddTime- 创建时间
-
getEventBusId
public String getEventBusId()
Get 事件集ID- Returns:
- EventBusId 事件集ID
-
setEventBusId
public void setEventBusId(String EventBusId)
Set 事件集ID- Parameters:
EventBusId- 事件集ID
-
getRuleName
public String getRuleName()
Get 规则名称- Returns:
- RuleName 规则名称
-
setRuleName
public void setRuleName(String RuleName)
Set 规则名称- Parameters:
RuleName- 规则名称
-
getTargets
public TargetBrief[] getTargets()
Get Target 简要信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Targets Target 简要信息 注意:此字段可能返回 null,表示取不到有效值。
-
setTargets
public void setTargets(TargetBrief[] Targets)
Set Target 简要信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Targets- Target 简要信息 注意:此字段可能返回 null,表示取不到有效值。
-
getDeadLetterConfig
public DeadLetterConfig getDeadLetterConfig()
Get rule设置的dlq规则. 可能为null 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DeadLetterConfig rule设置的dlq规则. 可能为null 注意:此字段可能返回 null,表示取不到有效值。
-
setDeadLetterConfig
public void setDeadLetterConfig(DeadLetterConfig DeadLetterConfig)
Set rule设置的dlq规则. 可能为null 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DeadLetterConfig- rule设置的dlq规则. 可能为null 注意:此字段可能返回 null,表示取不到有效值。
-
-