Class L4RuleSource
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.antiddos.v20200309.models.L4RuleSource
-
public class L4RuleSource extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description L4RuleSource()L4RuleSource(L4RuleSource 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 LonggetBackup()Get 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。LonggetPort()Get 8000 注意:此字段可能返回 null,表示取不到有效值。StringgetSource()Get 回源IP或域名LonggetWeight()Get 权重值,取值[0,100],暂不支持voidsetBackup(Long Backup)Set 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。voidsetPort(Long Port)Set 8000 注意:此字段可能返回 null,表示取不到有效值。voidsetSource(String Source)Set 回源IP或域名voidsetWeight(Long Weight)Set 权重值,取值[0,100],暂不支持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
-
L4RuleSource
public L4RuleSource()
-
L4RuleSource
public L4RuleSource(L4RuleSource 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
-
getSource
public String getSource()
Get 回源IP或域名- Returns:
- Source 回源IP或域名
-
setSource
public void setSource(String Source)
Set 回源IP或域名- Parameters:
Source- 回源IP或域名
-
getWeight
public Long getWeight()
Get 权重值,取值[0,100],暂不支持- Returns:
- Weight 权重值,取值[0,100],暂不支持
-
setWeight
public void setWeight(Long Weight)
Set 权重值,取值[0,100],暂不支持- Parameters:
Weight- 权重值,取值[0,100],暂不支持
-
getPort
public Long getPort()
Get 8000 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Port 8000 注意:此字段可能返回 null,表示取不到有效值。
-
setPort
public void setPort(Long Port)
Set 8000 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Port- 8000 注意:此字段可能返回 null,表示取不到有效值。
-
getBackup
public Long getBackup()
Get 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Backup 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。
-
setBackup
public void setBackup(Long Backup)
Set 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Backup- 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。
-
-