Class BatchTarget
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ecm.v20190719.models.BatchTarget
-
public class BatchTarget extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description BatchTarget()BatchTarget(BatchTarget 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 StringgetEniIp()Get 弹性网卡ipStringgetInstanceId()Get 子机IDStringgetListenerId()Get 监听器IDLonggetPort()Get 绑定端口LonggetWeight()Get 子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。voidsetEniIp(String EniIp)Set 弹性网卡ipvoidsetInstanceId(String InstanceId)Set 子机IDvoidsetListenerId(String ListenerId)Set 监听器IDvoidsetPort(Long Port)Set 绑定端口voidsetWeight(Long Weight)Set 子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。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
-
BatchTarget
public BatchTarget()
-
BatchTarget
public BatchTarget(BatchTarget 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
-
getListenerId
public String getListenerId()
Get 监听器ID- Returns:
- ListenerId 监听器ID
-
setListenerId
public void setListenerId(String ListenerId)
Set 监听器ID- Parameters:
ListenerId- 监听器ID
-
getPort
public Long getPort()
Get 绑定端口- Returns:
- Port 绑定端口
-
setPort
public void setPort(Long Port)
Set 绑定端口- Parameters:
Port- 绑定端口
-
getInstanceId
public String getInstanceId()
Get 子机ID- Returns:
- InstanceId 子机ID
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 子机ID- Parameters:
InstanceId- 子机ID
-
getEniIp
public String getEniIp()
Get 弹性网卡ip- Returns:
- EniIp 弹性网卡ip
-
setEniIp
public void setEniIp(String EniIp)
Set 弹性网卡ip- Parameters:
EniIp- 弹性网卡ip
-
getWeight
public Long getWeight()
Get 子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。- Returns:
- Weight 子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。
-
setWeight
public void setWeight(Long Weight)
Set 子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。- Parameters:
Weight- 子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。
-
-