Class NewL4RuleEntry
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dayu.v20180709.models.NewL4RuleEntry
-
public class NewL4RuleEntry extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description NewL4RuleEntry()NewL4RuleEntry(NewL4RuleEntry 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 StringgetId()Get 绑定资源Id信息StringgetIp()Get 绑定资源IP信息LonggetKeepEnable()Get 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)];LonggetKeepTime()Get 会话保持时间,单位秒LonggetLbType()Get 负载均衡方式,取值[1(加权轮询),2(源IP hash)]StringgetModifyTime()Get 规则修改时间StringgetProtocol()Get 转发协议,取值[TCP, UDP]LonggetRegion()Get 对应地区信息LonggetRemoveSwitch()Get 移除水印状态,取值[0(关闭),1(开启)]StringgetRuleId()Get 规则IDStringgetRuleName()Get 规则描述L4RuleSource[]getSourceList()Get 回源列表LonggetSourcePort()Get 源站端口LonggetSourceType()Get 回源方式,取值[1(域名回源),2(IP回源)]LonggetVirtualPort()Get 转发端口voidsetId(String Id)Set 绑定资源Id信息voidsetIp(String Ip)Set 绑定资源IP信息voidsetKeepEnable(Long KeepEnable)Set 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)];voidsetKeepTime(Long KeepTime)Set 会话保持时间,单位秒voidsetLbType(Long LbType)Set 负载均衡方式,取值[1(加权轮询),2(源IP hash)]voidsetModifyTime(String ModifyTime)Set 规则修改时间voidsetProtocol(String Protocol)Set 转发协议,取值[TCP, UDP]voidsetRegion(Long Region)Set 对应地区信息voidsetRemoveSwitch(Long RemoveSwitch)Set 移除水印状态,取值[0(关闭),1(开启)]voidsetRuleId(String RuleId)Set 规则IDvoidsetRuleName(String RuleName)Set 规则描述voidsetSourceList(L4RuleSource[] SourceList)Set 回源列表voidsetSourcePort(Long SourcePort)Set 源站端口voidsetSourceType(Long SourceType)Set 回源方式,取值[1(域名回源),2(IP回源)]voidsetVirtualPort(Long VirtualPort)Set 转发端口voidtoMap(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
-
NewL4RuleEntry
public NewL4RuleEntry()
-
NewL4RuleEntry
public NewL4RuleEntry(NewL4RuleEntry 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
-
getProtocol
public String getProtocol()
Get 转发协议,取值[TCP, UDP]- Returns:
- Protocol 转发协议,取值[TCP, UDP]
-
setProtocol
public void setProtocol(String Protocol)
Set 转发协议,取值[TCP, UDP]- Parameters:
Protocol- 转发协议,取值[TCP, UDP]
-
getVirtualPort
public Long getVirtualPort()
Get 转发端口- Returns:
- VirtualPort 转发端口
-
setVirtualPort
public void setVirtualPort(Long VirtualPort)
Set 转发端口- Parameters:
VirtualPort- 转发端口
-
getSourcePort
public Long getSourcePort()
Get 源站端口- Returns:
- SourcePort 源站端口
-
setSourcePort
public void setSourcePort(Long SourcePort)
Set 源站端口- Parameters:
SourcePort- 源站端口
-
getKeepTime
public Long getKeepTime()
Get 会话保持时间,单位秒- Returns:
- KeepTime 会话保持时间,单位秒
-
setKeepTime
public void setKeepTime(Long KeepTime)
Set 会话保持时间,单位秒- Parameters:
KeepTime- 会话保持时间,单位秒
-
getSourceList
public L4RuleSource[] getSourceList()
Get 回源列表- Returns:
- SourceList 回源列表
-
setSourceList
public void setSourceList(L4RuleSource[] SourceList)
Set 回源列表- Parameters:
SourceList- 回源列表
-
getLbType
public Long getLbType()
Get 负载均衡方式,取值[1(加权轮询),2(源IP hash)]- Returns:
- LbType 负载均衡方式,取值[1(加权轮询),2(源IP hash)]
-
setLbType
public void setLbType(Long LbType)
Set 负载均衡方式,取值[1(加权轮询),2(源IP hash)]- Parameters:
LbType- 负载均衡方式,取值[1(加权轮询),2(源IP hash)]
-
getKeepEnable
public Long getKeepEnable()
Get 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)];- Returns:
- KeepEnable 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)];
-
setKeepEnable
public void setKeepEnable(Long KeepEnable)
Set 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)];- Parameters:
KeepEnable- 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)];
-
getSourceType
public Long getSourceType()
Get 回源方式,取值[1(域名回源),2(IP回源)]- Returns:
- SourceType 回源方式,取值[1(域名回源),2(IP回源)]
-
setSourceType
public void setSourceType(Long SourceType)
Set 回源方式,取值[1(域名回源),2(IP回源)]- Parameters:
SourceType- 回源方式,取值[1(域名回源),2(IP回源)]
-
getRuleId
public String getRuleId()
Get 规则ID- Returns:
- RuleId 规则ID
-
setRuleId
public void setRuleId(String RuleId)
Set 规则ID- Parameters:
RuleId- 规则ID
-
getRuleName
public String getRuleName()
Get 规则描述- Returns:
- RuleName 规则描述
-
setRuleName
public void setRuleName(String RuleName)
Set 规则描述- Parameters:
RuleName- 规则描述
-
getRemoveSwitch
public Long getRemoveSwitch()
Get 移除水印状态,取值[0(关闭),1(开启)]- Returns:
- RemoveSwitch 移除水印状态,取值[0(关闭),1(开启)]
-
setRemoveSwitch
public void setRemoveSwitch(Long RemoveSwitch)
Set 移除水印状态,取值[0(关闭),1(开启)]- Parameters:
RemoveSwitch- 移除水印状态,取值[0(关闭),1(开启)]
-
getModifyTime
public String getModifyTime()
Get 规则修改时间- Returns:
- ModifyTime 规则修改时间
-
setModifyTime
public void setModifyTime(String ModifyTime)
Set 规则修改时间- Parameters:
ModifyTime- 规则修改时间
-
getRegion
public Long getRegion()
Get 对应地区信息- Returns:
- Region 对应地区信息
-
setRegion
public void setRegion(Long Region)
Set 对应地区信息- Parameters:
Region- 对应地区信息
-
getIp
public String getIp()
Get 绑定资源IP信息- Returns:
- Ip 绑定资源IP信息
-
setIp
public void setIp(String Ip)
Set 绑定资源IP信息- Parameters:
Ip- 绑定资源IP信息
-
getId
public String getId()
Get 绑定资源Id信息- Returns:
- Id 绑定资源Id信息
-
setId
public void setId(String Id)
Set 绑定资源Id信息- Parameters:
Id- 绑定资源Id信息
-
-