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 Nested rule. 
 | 
String | 
getConnectors()
Get Logical connection for cost allocation, enumeration values are as follows:. 
 | 
String | 
getOperator()
Get Specifies the dimension rules for cost allocation. 
 | 
String | 
getRuleKey()
Get RuleKey: cost allocation dimension. 
 | 
String[] | 
getRuleValue()
Get Cost allocation dimension value. 
 | 
void | 
setChildren(AllocationRuleExpression[] Children)
Set Nested rule. 
 | 
void | 
setConnectors(String Connectors)
Set Logical connection for cost allocation, enumeration values are as follows:. 
 | 
void | 
setOperator(String Operator)
Set Specifies the dimension rules for cost allocation. 
 | 
void | 
setRuleKey(String RuleKey)
Set RuleKey: cost allocation dimension. 
 | 
void | 
setRuleValue(String[] RuleValue)
Set Cost allocation dimension value. 
 | 
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: cost allocation dimension.
Enumeration value.
ownerUin - user UIN.
Operator UIN.
businessCode - product-level code.
productCode - 2-tier product code.
itemCode - 4-tier product code.
projectId - specifies the project ID.
regionId.
resourceId - specifies the resource ID.
tag - tag key-value pair.
payMode - billing mode.
instanceType - instance type.
actionType - transaction type.public String getOperator()
public void setOperator(String Operator)
Operator - Specifies the dimension rules for cost allocation.
Enumeration value.
in.
not in.public String[] getRuleValue()
public void setRuleValue(String[] RuleValue)
RuleValue - Cost allocation dimension value. for example, when RuleKey is businessCode, ["p_cbs","p_sqlserver"] indicates the cost of products at the "p_cbs","p_sqlserver" level.public String getConnectors()
public void setConnectors(String Connectors)
Connectors - Logical connection for cost allocation, enumeration values are as follows:.
Create and bind a policy query an instance reset the access password of an instance.
Create and bind a policy query an instance reset the access password of an instance.public AllocationRuleExpression[] getChildren()
public void setChildren(AllocationRuleExpression[] Children)
Children - Nested rule.Copyright © 2025. All rights reserved.