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 |
---|---|
Long |
getBackup()
Get 备份源站,1: 备份源站,0: 普通源站
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getPort()
Get 8000
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSource()
Get 回源IP或域名
|
Long |
getWeight()
Get 权重值,取值[0,100]
|
void |
setBackup(Long Backup)
Set 备份源站,1: 备份源站,0: 普通源站
注意:此字段可能返回 null,表示取不到有效值。
|
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, 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]public Long getPort()
public void setPort(Long Port)
Port
- 8000
注意:此字段可能返回 null,表示取不到有效值。public Long getBackup()
public void setBackup(Long Backup)
Backup
- 备份源站,1: 备份源站,0: 普通源站
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.