public class L4RuleSource extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getSource()
Get 回源IP或域名
|
Long |
getWeight()
Get 权重值,取值[0,100]
|
void |
setSource(String Source)
Set 回源IP或域名
|
void |
setWeight(Long Weight)
Set 权重值,取值[0,100]
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public L4RuleSource()
public L4RuleSource(L4RuleSource source)
public String getSource()
public void setSource(String Source)
Source
- 回源IP或域名public Long getWeight()
public void setWeight(Long Weight)
Weight
- 权重值,取值[0,100]Copyright © 2023. All rights reserved.