Class ProxyInstanceWeight
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cynosdb.v20190107.models.ProxyInstanceWeight
-
public class ProxyInstanceWeight extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ProxyInstanceWeight()ProxyInstanceWeight(ProxyInstanceWeight 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 实例IdLonggetWeight()Get 实例权重voidsetInstanceId(String InstanceId)Set 实例IdvoidsetWeight(Long Weight)Set 实例权重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
-
ProxyInstanceWeight
public ProxyInstanceWeight()
-
ProxyInstanceWeight
public ProxyInstanceWeight(ProxyInstanceWeight 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 实例Id- Returns:
- InstanceId 实例Id
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例Id- Parameters:
InstanceId- 实例Id
-
getWeight
public Long getWeight()
Get 实例权重- Returns:
- Weight 实例权重
-
setWeight
public void setWeight(Long Weight)
Set 实例权重- Parameters:
Weight- 实例权重
-
-