Class WeightEntry
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tione.v20211111.models.WeightEntry
-
public class WeightEntry extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetServiceId()Get 服务idLonggetWeight()Get 流量权重值,同 ServiceGroup 下 总和应为 100voidsetServiceId(String ServiceId)Set 服务idvoidsetWeight(Long Weight)Set 流量权重值,同 ServiceGroup 下 总和应为 100voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
WeightEntry
public WeightEntry()
-
WeightEntry
public 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.
-
-
Method Detail
-
getServiceId
public String getServiceId()
Get 服务id- Returns:
- ServiceId 服务id
-
setServiceId
public void setServiceId(String ServiceId)
Set 服务id- Parameters:
ServiceId- 服务id
-
getWeight
public Long getWeight()
Get 流量权重值,同 ServiceGroup 下 总和应为 100- Returns:
- Weight 流量权重值,同 ServiceGroup 下 总和应为 100
-
setWeight
public void setWeight(Long Weight)
Set 流量权重值,同 ServiceGroup 下 总和应为 100- Parameters:
Weight- 流量权重值,同 ServiceGroup 下 总和应为 100
-
-