public class L4RuleSource extends AbstractModel
header, skipSign| 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 | 
|---|---|
| Long | getBackup()Get 备份源站,1: 备份源站,0: 普通源站 | 
| Long | getPort()Get 8000
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getSource()Get 回源IP或域名 | 
| Long | getWeight()Get 权重值,取值[0,100],暂不支持 | 
| void | setBackup(Long Backup)Set 备份源站,1: 备份源站,0: 普通源站 | 
| void | setPort(Long Port)Set 8000
注意:此字段可能返回 null,表示取不到有效值。 | 
| 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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic 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],暂不支持public Long getPort()
public void setPort(Long Port)
Port - 8000
注意:此字段可能返回 null,表示取不到有效值。public Long getBackup()
public void setBackup(Long Backup)
Backup - 备份源站,1: 备份源站,0: 普通源站Copyright © 2025. All rights reserved.