Class RoWeightValue
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.RoWeightValue
-
public class RoWeightValue extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RoWeightValue()RoWeightValue(RoWeightValue 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 StringgetInstanceId()Get RO 实例 ID。LonggetWeight()Get 权重值。取值范围为 [0, 100]。voidsetInstanceId(String InstanceId)Set RO 实例 ID。voidsetWeight(Long Weight)Set 权重值。取值范围为 [0, 100]。voidtoMap(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
-
RoWeightValue
public RoWeightValue()
-
RoWeightValue
public RoWeightValue(RoWeightValue 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
-
getInstanceId
public String getInstanceId()
Get RO 实例 ID。- Returns:
- InstanceId RO 实例 ID。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set RO 实例 ID。- Parameters:
InstanceId- RO 实例 ID。
-
getWeight
public Long getWeight()
Get 权重值。取值范围为 [0, 100]。- Returns:
- Weight 权重值。取值范围为 [0, 100]。
-
setWeight
public void setWeight(Long Weight)
Set 权重值。取值范围为 [0, 100]。- Parameters:
Weight- 权重值。取值范围为 [0, 100]。
-
-