public class ModifyTCPListenerAttributeRequest extends AbstractModel
| Constructor and Description |
|---|
ModifyTCPListenerAttributeRequest() |
ModifyTCPListenerAttributeRequest(ModifyTCPListenerAttributeRequest 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 |
|---|---|
Long |
getConnectTimeout()
Get 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。
|
Long |
getDelayLoop()
Get 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。
|
Long |
getFailoverSwitch()
Get 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启
|
String |
getGroupId()
Get 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。
|
Long |
getHealthCheck()
Get 是否开启健康检查,1开启,0关闭。
|
String |
getListenerId()
Get 监听器ID
|
String |
getListenerName()
Get 监听器名称
|
String |
getProxyId()
Get 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。
|
String |
getScheduler()
Get 监听器源站调度策略,支持轮询(rr),加权轮询(wrr),最小连接数(lc)。
|
void |
setConnectTimeout(Long ConnectTimeout)
Set 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。
|
void |
setDelayLoop(Long DelayLoop)
Set 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。
|
void |
setFailoverSwitch(Long FailoverSwitch)
Set 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启
|
void |
setGroupId(String GroupId)
Set 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。
|
void |
setHealthCheck(Long HealthCheck)
Set 是否开启健康检查,1开启,0关闭。
|
void |
setListenerId(String ListenerId)
Set 监听器ID
|
void |
setListenerName(String ListenerName)
Set 监听器名称
|
void |
setProxyId(String ProxyId)
Set 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。
|
void |
setScheduler(String Scheduler)
Set 监听器源站调度策略,支持轮询(rr),加权轮询(wrr),最小连接数(lc)。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic ModifyTCPListenerAttributeRequest()
public ModifyTCPListenerAttributeRequest(ModifyTCPListenerAttributeRequest source)
public String getListenerId()
public void setListenerId(String ListenerId)
ListenerId - 监听器IDpublic String getGroupId()
public void setGroupId(String GroupId)
GroupId - 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。public String getProxyId()
public void setProxyId(String ProxyId)
ProxyId - 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。public String getListenerName()
public void setListenerName(String ListenerName)
ListenerName - 监听器名称public String getScheduler()
public void setScheduler(String Scheduler)
Scheduler - 监听器源站调度策略,支持轮询(rr),加权轮询(wrr),最小连接数(lc)。public Long getDelayLoop()
public void setDelayLoop(Long DelayLoop)
DelayLoop - 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。public Long getConnectTimeout()
public void setConnectTimeout(Long ConnectTimeout)
ConnectTimeout - 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。public Long getHealthCheck()
public void setHealthCheck(Long HealthCheck)
HealthCheck - 是否开启健康检查,1开启,0关闭。public Long getFailoverSwitch()
public void setFailoverSwitch(Long FailoverSwitch)
FailoverSwitch - 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启Copyright © 2021. All rights reserved.