public class TargetGroupInstance extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| TargetGroupInstance() | 
| TargetGroupInstance(TargetGroupInstance 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 | getBindIP()Get 目标组实例的内网IP | 
| Long | getNewPort()Get 目标组实例的新端口,全监听目标组不支持传此字段。 | 
| Long | getPort()Get 目标组实例的端口,全监听目标组不支持传此字段。 | 
| Long | getWeight()Get 目标组实例的权重
v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时该参数与创建接口中的Weight参数必填其一。
取值范围:0-100 | 
| void | setBindIP(String BindIP)Set 目标组实例的内网IP | 
| void | setNewPort(Long NewPort)Set 目标组实例的新端口,全监听目标组不支持传此字段。 | 
| void | setPort(Long Port)Set 目标组实例的端口,全监听目标组不支持传此字段。 | 
| void | setWeight(Long Weight)Set 目标组实例的权重
v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时该参数与创建接口中的Weight参数必填其一。
取值范围:0-100 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TargetGroupInstance()
public TargetGroupInstance(TargetGroupInstance source)
public String getBindIP()
public void setBindIP(String BindIP)
BindIP - 目标组实例的内网IPpublic Long getPort()
public void setPort(Long Port)
Port - 目标组实例的端口,全监听目标组不支持传此字段。public Long getWeight()
public void setWeight(Long Weight)
Weight - 目标组实例的权重
v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时该参数与创建接口中的Weight参数必填其一。
取值范围:0-100public Long getNewPort()
public void setNewPort(Long NewPort)
NewPort - 目标组实例的新端口,全监听目标组不支持传此字段。Copyright © 2025. All rights reserved.