Class SpartaProtectionPort
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.waf.v20180125.models.SpartaProtectionPort
-
public class SpartaProtectionPort extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SpartaProtectionPort()SpartaProtectionPort(SpartaProtectionPort 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 LonggetNginxServerId()Get nginx IdStringgetPort()Get 端口StringgetProtocol()Get 协议StringgetUpstreamPort()Get 后端端口StringgetUpstreamProtocol()Get 后端协议voidsetNginxServerId(Long NginxServerId)Set nginx IdvoidsetPort(String Port)Set 端口voidsetProtocol(String Protocol)Set 协议voidsetUpstreamPort(String UpstreamPort)Set 后端端口voidsetUpstreamProtocol(String UpstreamProtocol)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
-
SpartaProtectionPort
public SpartaProtectionPort()
-
SpartaProtectionPort
public SpartaProtectionPort(SpartaProtectionPort 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
-
getNginxServerId
public Long getNginxServerId()
Get nginx Id- Returns:
- NginxServerId nginx Id
-
setNginxServerId
public void setNginxServerId(Long NginxServerId)
Set nginx Id- Parameters:
NginxServerId- nginx Id
-
getPort
public String getPort()
Get 端口- Returns:
- Port 端口
-
setPort
public void setPort(String Port)
Set 端口- Parameters:
Port- 端口
-
getProtocol
public String getProtocol()
Get 协议- Returns:
- Protocol 协议
-
setProtocol
public void setProtocol(String Protocol)
Set 协议- Parameters:
Protocol- 协议
-
getUpstreamPort
public String getUpstreamPort()
Get 后端端口- Returns:
- UpstreamPort 后端端口
-
setUpstreamPort
public void setUpstreamPort(String UpstreamPort)
Set 后端端口- Parameters:
UpstreamPort- 后端端口
-
getUpstreamProtocol
public String getUpstreamProtocol()
Get 后端协议- Returns:
- UpstreamProtocol 后端协议
-
setUpstreamProtocol
public void setUpstreamProtocol(String UpstreamProtocol)
Set 后端协议- Parameters:
UpstreamProtocol- 后端协议
-
-