Class BindRealServer
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gaap.v20180529.models.BindRealServer
-
public class BindRealServer extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description BindRealServer()
BindRealServer(BindRealServer 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 String[]
getDownIPList()
Get 当源站为域名时,域名被解析成一个或者多个IP,该字段表示其中异常的IP列表。状态异常,但该字段为空时,表示域名解析异常。String
getRealServerFailoverRole()
Get 源站主备角色:master表示主,slave表示备,该参数必须在监听器打开了源站主备模式。String
getRealServerId()
Get 源站IDString
getRealServerIP()
Get 源站IP或者域名Long
getRealServerPort()
Get 源站的端口号 注意:此字段可能返回 null,表示取不到有效值。Long
getRealServerStatus()
Get 源站健康检查状态,其中: 0表示正常; 1表示异常。 未开启健康检查状态时,该状态始终为正常。 注意:此字段可能返回 null,表示取不到有效值。Long
getRealServerWeight()
Get 该源站所占权重void
setDownIPList(String[] DownIPList)
Set 当源站为域名时,域名被解析成一个或者多个IP,该字段表示其中异常的IP列表。状态异常,但该字段为空时,表示域名解析异常。void
setRealServerFailoverRole(String RealServerFailoverRole)
Set 源站主备角色:master表示主,slave表示备,该参数必须在监听器打开了源站主备模式。void
setRealServerId(String RealServerId)
Set 源站IDvoid
setRealServerIP(String RealServerIP)
Set 源站IP或者域名void
setRealServerPort(Long RealServerPort)
Set 源站的端口号 注意:此字段可能返回 null,表示取不到有效值。void
setRealServerStatus(Long RealServerStatus)
Set 源站健康检查状态,其中: 0表示正常; 1表示异常。 未开启健康检查状态时,该状态始终为正常。 注意:此字段可能返回 null,表示取不到有效值。void
setRealServerWeight(Long RealServerWeight)
Set 该源站所占权重void
toMap(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
-
BindRealServer
public BindRealServer()
-
BindRealServer
public BindRealServer(BindRealServer 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
-
getRealServerId
public String getRealServerId()
Get 源站ID- Returns:
- RealServerId 源站ID
-
setRealServerId
public void setRealServerId(String RealServerId)
Set 源站ID- Parameters:
RealServerId
- 源站ID
-
getRealServerIP
public String getRealServerIP()
Get 源站IP或者域名- Returns:
- RealServerIP 源站IP或者域名
-
setRealServerIP
public void setRealServerIP(String RealServerIP)
Set 源站IP或者域名- Parameters:
RealServerIP
- 源站IP或者域名
-
getRealServerWeight
public Long getRealServerWeight()
Get 该源站所占权重- Returns:
- RealServerWeight 该源站所占权重
-
setRealServerWeight
public void setRealServerWeight(Long RealServerWeight)
Set 该源站所占权重- Parameters:
RealServerWeight
- 该源站所占权重
-
getRealServerStatus
public Long getRealServerStatus()
Get 源站健康检查状态,其中: 0表示正常; 1表示异常。 未开启健康检查状态时,该状态始终为正常。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RealServerStatus 源站健康检查状态,其中: 0表示正常; 1表示异常。 未开启健康检查状态时,该状态始终为正常。 注意:此字段可能返回 null,表示取不到有效值。
-
setRealServerStatus
public void setRealServerStatus(Long RealServerStatus)
Set 源站健康检查状态,其中: 0表示正常; 1表示异常。 未开启健康检查状态时,该状态始终为正常。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RealServerStatus
- 源站健康检查状态,其中: 0表示正常; 1表示异常。 未开启健康检查状态时,该状态始终为正常。 注意:此字段可能返回 null,表示取不到有效值。
-
getRealServerPort
public Long getRealServerPort()
Get 源站的端口号 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RealServerPort 源站的端口号 注意:此字段可能返回 null,表示取不到有效值。
-
setRealServerPort
public void setRealServerPort(Long RealServerPort)
Set 源站的端口号 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RealServerPort
- 源站的端口号 注意:此字段可能返回 null,表示取不到有效值。
-
getDownIPList
public String[] getDownIPList()
Get 当源站为域名时,域名被解析成一个或者多个IP,该字段表示其中异常的IP列表。状态异常,但该字段为空时,表示域名解析异常。- Returns:
- DownIPList 当源站为域名时,域名被解析成一个或者多个IP,该字段表示其中异常的IP列表。状态异常,但该字段为空时,表示域名解析异常。
-
setDownIPList
public void setDownIPList(String[] DownIPList)
Set 当源站为域名时,域名被解析成一个或者多个IP,该字段表示其中异常的IP列表。状态异常,但该字段为空时,表示域名解析异常。- Parameters:
DownIPList
- 当源站为域名时,域名被解析成一个或者多个IP,该字段表示其中异常的IP列表。状态异常,但该字段为空时,表示域名解析异常。
-
getRealServerFailoverRole
public String getRealServerFailoverRole()
Get 源站主备角色:master表示主,slave表示备,该参数必须在监听器打开了源站主备模式。- Returns:
- RealServerFailoverRole 源站主备角色:master表示主,slave表示备,该参数必须在监听器打开了源站主备模式。
-
setRealServerFailoverRole
public void setRealServerFailoverRole(String RealServerFailoverRole)
Set 源站主备角色:master表示主,slave表示备,该参数必须在监听器打开了源站主备模式。- Parameters:
RealServerFailoverRole
- 源站主备角色:master表示主,slave表示备,该参数必须在监听器打开了源站主备模式。
-
-