public class CloudNativeAPIGatewayCanaryRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CloudNativeAPIGatewayCanaryRule() | 
| CloudNativeAPIGatewayCanaryRule(CloudNativeAPIGatewayCanaryRule 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 | 
|---|---|
| CloudNativeAPIGatewayBalancedService[] | getBalancedServiceList()Get 服务的流量百分比配置
注意:此字段可能返回 null,表示取不到有效值。 | 
| CloudNativeAPIGatewayCanaryRuleCondition[] | getConditionList()Get 参数匹配条件 | 
| Boolean | getEnabled()Get 是否启用规则 | 
| String | getGroupId()Get 泳道组ID | 
| String | getGroupName()Get 泳道组名称 | 
| String | getLaneId()Get 泳道ID | 
| String | getLaneName()Get 泳道名称 | 
| String | getLaneTag()Get 泳道标签 | 
| String | getMatchMode()Get 泳道匹配规则:严格STRICT|宽松PERMISSIVE | 
| String | getMatchType()Get 全链路灰度策略多个条件之间的匹配方式,与AND,或OR | 
| Long | getPriority()Get 优先级,值范围为 0 到 100;值越大,优先级越高;不同规则间优先级不可重复 | 
| String | getRuleType()Get 灰度规则类别
Standard|Lane | 
| String | getServiceId()Get 归属服务 ID | 
| String | getServiceName()Get 归属服务名称 | 
| void | setBalancedServiceList(CloudNativeAPIGatewayBalancedService[] BalancedServiceList)Set 服务的流量百分比配置
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setConditionList(CloudNativeAPIGatewayCanaryRuleCondition[] ConditionList)Set 参数匹配条件 | 
| void | setEnabled(Boolean Enabled)Set 是否启用规则 | 
| void | setGroupId(String GroupId)Set 泳道组ID | 
| void | setGroupName(String GroupName)Set 泳道组名称 | 
| void | setLaneId(String LaneId)Set 泳道ID | 
| void | setLaneName(String LaneName)Set 泳道名称 | 
| void | setLaneTag(String LaneTag)Set 泳道标签 | 
| void | setMatchMode(String MatchMode)Set 泳道匹配规则:严格STRICT|宽松PERMISSIVE | 
| void | setMatchType(String MatchType)Set 全链路灰度策略多个条件之间的匹配方式,与AND,或OR | 
| void | setPriority(Long Priority)Set 优先级,值范围为 0 到 100;值越大,优先级越高;不同规则间优先级不可重复 | 
| void | setRuleType(String RuleType)Set 灰度规则类别
Standard|Lane | 
| void | setServiceId(String ServiceId)Set 归属服务 ID | 
| void | setServiceName(String ServiceName)Set 归属服务名称 | 
| 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 CloudNativeAPIGatewayCanaryRule()
public CloudNativeAPIGatewayCanaryRule(CloudNativeAPIGatewayCanaryRule source)
public Long getPriority()
public void setPriority(Long Priority)
Priority - 优先级,值范围为 0 到 100;值越大,优先级越高;不同规则间优先级不可重复public Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled - 是否启用规则public CloudNativeAPIGatewayCanaryRuleCondition[] getConditionList()
public void setConditionList(CloudNativeAPIGatewayCanaryRuleCondition[] ConditionList)
ConditionList - 参数匹配条件public CloudNativeAPIGatewayBalancedService[] getBalancedServiceList()
public void setBalancedServiceList(CloudNativeAPIGatewayBalancedService[] BalancedServiceList)
BalancedServiceList - 服务的流量百分比配置
注意:此字段可能返回 null,表示取不到有效值。public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId - 归属服务 IDpublic String getServiceName()
public void setServiceName(String ServiceName)
ServiceName - 归属服务名称public String getRuleType()
public void setRuleType(String RuleType)
RuleType - 灰度规则类别
Standard|Lanepublic String getMatchType()
public void setMatchType(String MatchType)
MatchType - 全链路灰度策略多个条件之间的匹配方式,与AND,或ORpublic String getGroupId()
public void setGroupId(String GroupId)
GroupId - 泳道组IDpublic String getGroupName()
public void setGroupName(String GroupName)
GroupName - 泳道组名称public String getLaneId()
public void setLaneId(String LaneId)
LaneId - 泳道IDpublic String getLaneName()
public void setLaneName(String LaneName)
LaneName - 泳道名称public String getMatchMode()
public void setMatchMode(String MatchMode)
MatchMode - 泳道匹配规则:严格STRICT|宽松PERMISSIVEpublic String getLaneTag()
public void setLaneTag(String LaneTag)
LaneTag - 泳道标签Copyright © 2025. All rights reserved.