public class AllocationRuleExpression extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AllocationRuleExpression() | 
| AllocationRuleExpression(AllocationRuleExpression 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 | 
|---|---|
| AllocationRuleExpression[] | getChildren()Get 嵌套规则 | 
| String | getConnectors()Get 分账逻辑连接词,枚举值如下:
and - 且
or - 或 | 
| String | getOperator()Get 分账维度规则
枚举值:
in - 是
not in - 不是 | 
| String | getRuleKey()Get RuleKey:分账维度
枚举值:
ownerUin - 使用者UIN,
operateUin - 操作者UIN,
businessCode - 产品一层编码,
productCode - 产品二层编码,
itemCode - 产品四层编码,
projectId - 项目ID,
regionId - 地域ID,
resourceId - 资源ID,
tag - 标签键值对,
payMode - 计费模式,
instanceType - 实例类型,
actionType - 交易类型 | 
| String[] | getRuleValue()Get 分账维度值,例如当RuleKey为businessCode时,["p_cbs","p_sqlserver"]表示产品一层是"p_cbs","p_sqlserver"的费用 | 
| void | setChildren(AllocationRuleExpression[] Children)Set 嵌套规则 | 
| void | setConnectors(String Connectors)Set 分账逻辑连接词,枚举值如下:
and - 且
or - 或 | 
| void | setOperator(String Operator)Set 分账维度规则
枚举值:
in - 是
not in - 不是 | 
| void | setRuleKey(String RuleKey)Set RuleKey:分账维度
枚举值:
ownerUin - 使用者UIN,
operateUin - 操作者UIN,
businessCode - 产品一层编码,
productCode - 产品二层编码,
itemCode - 产品四层编码,
projectId - 项目ID,
regionId - 地域ID,
resourceId - 资源ID,
tag - 标签键值对,
payMode - 计费模式,
instanceType - 实例类型,
actionType - 交易类型 | 
| void | setRuleValue(String[] RuleValue)Set 分账维度值,例如当RuleKey为businessCode时,["p_cbs","p_sqlserver"]表示产品一层是"p_cbs","p_sqlserver"的费用 | 
| 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 AllocationRuleExpression()
public AllocationRuleExpression(AllocationRuleExpression source)
public String getRuleKey()
public void setRuleKey(String RuleKey)
RuleKey - RuleKey:分账维度
枚举值:
ownerUin - 使用者UIN,
operateUin - 操作者UIN,
businessCode - 产品一层编码,
productCode - 产品二层编码,
itemCode - 产品四层编码,
projectId - 项目ID,
regionId - 地域ID,
resourceId - 资源ID,
tag - 标签键值对,
payMode - 计费模式,
instanceType - 实例类型,
actionType - 交易类型public String getOperator()
public void setOperator(String Operator)
Operator - 分账维度规则
枚举值:
in - 是
not in - 不是public String[] getRuleValue()
public void setRuleValue(String[] RuleValue)
RuleValue - 分账维度值,例如当RuleKey为businessCode时,["p_cbs","p_sqlserver"]表示产品一层是"p_cbs","p_sqlserver"的费用public String getConnectors()
public void setConnectors(String Connectors)
Connectors - 分账逻辑连接词,枚举值如下:
and - 且
or - 或public AllocationRuleExpression[] getChildren()
public void setChildren(AllocationRuleExpression[] Children)
Children - 嵌套规则Copyright © 2025. All rights reserved.