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 | getPort()Get 8000
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getSource()Get IP or domain name for forwarding. | 
| Long | getWeight()Get Weight. | 
| void | setPort(Long Port)Set 8000
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setSource(String Source)Set IP or domain name for forwarding. | 
| void | setWeight(Long Weight)Set Weight. | 
| 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, toJsonStringpublic L4RuleSource()
public L4RuleSource(L4RuleSource source)
public String getSource()
public void setSource(String Source)
Source - IP or domain name for forwarding.public Long getWeight()
public void setWeight(Long Weight)
Weight - Weight. Value range: [0,100].public Long getPort()
public void setPort(Long Port)
Port - 8000
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.