Class SourceServer
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.antiddos.v20200309.models.SourceServer
-
public class SourceServer extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SourceServer()SourceServer(SourceServer 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 LonggetPort()Get 端口号:0~65535StringgetRealServer()Get 源站的地址(IP或者域名)LonggetRsType()Get 源站的地址类型,取值[ 1(域名地址) 2(IP地址) ]LonggetWeight()Get 源站的回源权重,取值1~100voidsetPort(Long Port)Set 端口号:0~65535voidsetRealServer(String RealServer)Set 源站的地址(IP或者域名)voidsetRsType(Long RsType)Set 源站的地址类型,取值[ 1(域名地址) 2(IP地址) ]voidsetWeight(Long Weight)Set 源站的回源权重,取值1~100voidtoMap(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
-
SourceServer
public SourceServer()
-
SourceServer
public SourceServer(SourceServer 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
-
getRealServer
public String getRealServer()
Get 源站的地址(IP或者域名)- Returns:
- RealServer 源站的地址(IP或者域名)
-
setRealServer
public void setRealServer(String RealServer)
Set 源站的地址(IP或者域名)- Parameters:
RealServer- 源站的地址(IP或者域名)
-
getRsType
public Long getRsType()
Get 源站的地址类型,取值[ 1(域名地址) 2(IP地址) ]- Returns:
- RsType 源站的地址类型,取值[ 1(域名地址) 2(IP地址) ]
-
setRsType
public void setRsType(Long RsType)
Set 源站的地址类型,取值[ 1(域名地址) 2(IP地址) ]- Parameters:
RsType- 源站的地址类型,取值[ 1(域名地址) 2(IP地址) ]
-
getWeight
public Long getWeight()
Get 源站的回源权重,取值1~100- Returns:
- Weight 源站的回源权重,取值1~100
-
setWeight
public void setWeight(Long Weight)
Set 源站的回源权重,取值1~100- Parameters:
Weight- 源站的回源权重,取值1~100
-
getPort
public Long getPort()
Get 端口号:0~65535- Returns:
- Port 端口号:0~65535
-
setPort
public void setPort(Long Port)
Set 端口号:0~65535- Parameters:
Port- 端口号:0~65535
-
-