Class ClassicalTargetInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.clb.v20180317.models.ClassicalTargetInfo
-
public class ClassicalTargetInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ClassicalTargetInfo()ClassicalTargetInfo(ClassicalTargetInfo 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 权重,取值范围 [0, 100]voidsetInstanceId(String InstanceId)Set 后端实例IDvoidsetWeight(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
-
ClassicalTargetInfo
public ClassicalTargetInfo()
-
ClassicalTargetInfo
public ClassicalTargetInfo(ClassicalTargetInfo 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 权重,取值范围 [0, 100]- Returns:
- Weight 权重,取值范围 [0, 100]
-
setWeight
public void setWeight(Long Weight)
Set 权重,取值范围 [0, 100]- Parameters:
Weight- 权重,取值范围 [0, 100]
-
-