public class Target extends AbstractModel
header, skipSign
Constructor and Description |
---|
Target() |
Target(Target 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 You need to pass in this parameter when binding an ENI.
|
String |
getInstanceId()
Get CVM instance ID
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getPort()
Get Listening port of the real server
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getWeight()
Get Forwarding weight of the real server.
|
void |
setEniIp(String EniIp)
Set You need to pass in this parameter when binding an ENI.
|
void |
setInstanceId(String InstanceId)
Set CVM instance ID
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPort(Long Port)
Set Listening port of the real server
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setWeight(Long Weight)
Set Forwarding weight of the real server.
|
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, toJsonString
public Target()
public Target(Target source)
public Long getPort()
public void setPort(Long Port)
Port
- Listening port of the real server
Note: this field may return null, indicating that no valid values can be obtained.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- CVM instance ID
Note: this field may return null, indicating that no valid values can be obtained.public Long getWeight()
public void setWeight(Long Weight)
Weight
- Forwarding weight of the real server. Value range: [0, 100]. Default value: 10.
Note: this field may return null, indicating that no valid values can be obtained.public String getEniIp()
public void setEniIp(String EniIp)
EniIp
- You need to pass in this parameter when binding an ENI. It represents the IP address of the ENI. You must bind an ENI to a CVM instance first before you can bind it to a CLB instance. Note: you must pass in either `InstanceId` or `EniIp`.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.