public class BatchTarget extends AbstractModel
header, skipSign| Constructor and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getEniIp()Get It is required for binding an IP. | 
| String | getInstanceId()Get CVM instance ID. | 
| String | getListenerId()Get Listener ID. | 
| String | getLocationId()Get Layer-7 rule ID. | 
| Long | getPort()Get The port to Bind | 
| String | getTag()Get Tag. | 
| Long | getWeight()Get Weight of the CVM instance. | 
| void | setEniIp(String EniIp)Set It is required for binding an IP. | 
| void | setInstanceId(String InstanceId)Set CVM instance ID. | 
| void | setListenerId(String ListenerId)Set Listener ID. | 
| void | setLocationId(String LocationId)Set Layer-7 rule ID. | 
| void | setPort(Long Port)Set The port to Bind | 
| void | setTag(String Tag)Set Tag. | 
| void | setWeight(Long Weight)Set Weight of the CVM instance. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic BatchTarget()
public BatchTarget(BatchTarget source)
public String getListenerId()
public void setListenerId(String ListenerId)
ListenerId - Listener ID.public Long getPort()
public void setPort(Long Port)
Port - The port to Bindpublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - CVM instance ID. The primary IP of the primary ENI will be bound.public String getEniIp()
public void setEniIp(String EniIp)
EniIp - It is required for binding an IP. It supports an ENI IP or any other private IP. To bind an ENI IP, the ENI should be bound to a CVM instance before being bound to a CLB instance.
Note: either `InstanceId` or `EniIp` must be passed in, which is required for binding a dual-stack IPv6 CVM instance.public Long getWeight()
public void setWeight(Long Weight)
Weight - Weight of the CVM instance. Value range: [0, 100]. If it is not specified for binding the instance, 10 will be used by default.public String getLocationId()
public void setLocationId(String LocationId)
LocationId - Layer-7 rule ID. This parameter is required for Layer-7 CLB.public String getTag()
public void setTag(String Tag)
Tag - Tag.Copyright © 2025. All rights reserved.