public static class UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
serverGroupId
The ID of the server group to which the request is forwarded.
|
Integer |
weight
The weight of the server group.
|
| 构造器和说明 |
|---|
UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples() |
@NameInMap(value="ServerGroupId") public String serverGroupId
The ID of the server group to which the request is 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 UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples()
public static UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples build(Map<String,?> map) throws Exception
Exceptionpublic UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples setServerGroupId(String serverGroupId)
public String getServerGroupId()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleActionsForwardGroupConfigServerGroupTuples setWeight(Integer weight)
public Integer getWeight()
Copyright © 2024. All rights reserved.