Class L4RuleSource
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dayu.v20180709.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 StringgetSource()Get 回源IP或域名LonggetWeight()Get 权重值,取值[0,100]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]
-
-