public class WeightEntry extends AbstractModel
Constructor and Description |
---|
WeightEntry() |
WeightEntry(WeightEntry 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 |
getServiceId()
Get 服务id
|
Long |
getWeight()
Get 流量权重值,同 ServiceGroup 下 总和应为 100
|
void |
setServiceId(String ServiceId)
Set 服务id
|
void |
setWeight(Long Weight)
Set 流量权重值,同 ServiceGroup 下 总和应为 100
|
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 WeightEntry()
public WeightEntry(WeightEntry source)
public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId
- 服务idpublic Long getWeight()
public void setWeight(Long Weight)
Weight
- 流量权重值,同 ServiceGroup 下 总和应为 100Copyright © 2023. All rights reserved.