public static class UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
serverGroupId
The server group to which requests are forwarded.
|
Integer |
weight
The weight of the server group.
|
@NameInMap(value="ServerGroupId") public String serverGroupId
The server group to which requests are forwarded.
@NameInMap(value="Weight") public Integer weight
The weight of the server group. A larger value specifies a higher weight. A server group with a higher weight receives more requests. Valid values: **0** to **100**.
* If only one destination server group exists and you do not specify a weight, the default value **100** is used.
* If more than one destination server group exists, you must specify weights.
public UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples()
public static UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples build(Map<String,?> map) throws Exception
Exceptionpublic UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples setServerGroupId(String serverGroupId)
public String getServerGroupId()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsForwardGroupConfigServerGroupTuples setWeight(Integer weight)
public Integer getWeight()
Copyright © 2024. All rights reserved.