public class RuleBranch extends AbstractModel
header, skipSign| Constructor and Description |
|---|
RuleBranch() |
RuleBranch(RuleBranch 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 |
|---|---|
RuleEngineAction[] |
getActions()
Get [Operations]( https://www.tencentcloud.com/document/product/1145/54759#c7bd7e02-9247-4a72-b0e4-11c27cadb198).
Note: actions and subrules cannot both be empty. |
String |
getCondition()
Get Match condition (https://intl.cloud.tencent.com/document/product/1552/90438?from_cn_redirect=1#33f65828-c6c6-4b66-a011-25a20b548d5d).
|
RuleEngineSubRule[] |
getSubRules()
Get List of sub-rules.
|
void |
setActions(RuleEngineAction[] Actions)
Set [Operations]( https://www.tencentcloud.com/document/product/1145/54759#c7bd7e02-9247-4a72-b0e4-11c27cadb198).
Note: actions and subrules cannot both be empty. |
void |
setCondition(String Condition)
Set Match condition (https://intl.cloud.tencent.com/document/product/1552/90438?from_cn_redirect=1#33f65828-c6c6-4b66-a011-25a20b548d5d).
|
void |
setSubRules(RuleEngineSubRule[] SubRules)
Set List of sub-rules.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RuleBranch()
public RuleBranch(RuleBranch source)
public String getCondition()
public void setCondition(String Condition)
Condition - Match condition (https://intl.cloud.tencent.com/document/product/1552/90438?from_cn_redirect=1#33f65828-c6c6-4b66-a011-25a20b548d5d).public RuleEngineAction[] getActions()
public void setActions(RuleEngineAction[] Actions)
Actions - [Operations]( https://www.tencentcloud.com/document/product/1145/54759#c7bd7e02-9247-4a72-b0e4-11c27cadb198).public RuleEngineSubRule[] getSubRules()
public void setSubRules(RuleEngineSubRule[] SubRules)
SubRules - List of sub-rules. multiple rules exist in this list and are executed sequentially from top to bottom.Copyright © 2025. All rights reserved.