| Package | Description |
|---|---|
| com.tencentcloudapi.teo.v20220901.models |
| Modifier and Type | Method and Description |
|---|---|
FunctionWeightedSelection[] |
FunctionRule.getWeightedSelections()
Get 基于权重的函数选择配置。
|
FunctionWeightedSelection[] |
CreateFunctionRuleRequest.getWeightedSelections()
Get 基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。
|
FunctionWeightedSelection[] |
ModifyFunctionRuleRequest.getWeightedSelections()
Get 基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。
|
| Modifier and Type | Method and Description |
|---|---|
void |
FunctionRule.setWeightedSelections(FunctionWeightedSelection[] WeightedSelections)
Set 基于权重的函数选择配置。
|
void |
CreateFunctionRuleRequest.setWeightedSelections(FunctionWeightedSelection[] WeightedSelections)
Set 基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。
|
void |
ModifyFunctionRuleRequest.setWeightedSelections(FunctionWeightedSelection[] WeightedSelections)
Set 基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。
|
| Constructor and Description |
|---|
FunctionWeightedSelection(FunctionWeightedSelection 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.
|
Copyright © 2025. All rights reserved.