public class TargetsWeightRule extends AbstractModel
Constructor and Description |
---|
TargetsWeightRule() |
TargetsWeightRule(TargetsWeightRule 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 |
---|---|
String |
getListenerId()
Get 负载均衡监听器 ID
注意:此字段可能返回 null,表示取不到有效值。
|
Target[] |
getTargets()
Get 要修改权重的后端机器列表
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getWeight()
Get 后端服务新的转发权重,取值范围:0~100。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setListenerId(String ListenerId)
Set 负载均衡监听器 ID
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTargets(Target[] Targets)
Set 要修改权重的后端机器列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setWeight(Long Weight)
Set 后端服务新的转发权重,取值范围:0~100。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public TargetsWeightRule()
public TargetsWeightRule(TargetsWeightRule source)
public String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- 负载均衡监听器 ID
注意:此字段可能返回 null,表示取不到有效值。public Target[] getTargets()
public void setTargets(Target[] Targets)
Targets
- 要修改权重的后端机器列表
注意:此字段可能返回 null,表示取不到有效值。public Long getWeight()
public void setWeight(Long Weight)
Weight
- 后端服务新的转发权重,取值范围:0~100。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.