public class RsWeightRule extends AbstractModel
| Constructor and Description | 
|---|
| RsWeightRule() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDomain()Get Target rule domain name. | 
| String | getListenerId()Get CLB listener ID | 
| String | getLocationId()Get Forwarding rule ID | 
| Target[] | getTargets()Get List of real servers for which to modify the weight | 
| String | getUrl()Get Target rule URL. | 
| Long | getWeight()Get New forwarding weight of a real server. | 
| void | setDomain(String Domain)Set Target rule domain name. | 
| void | setListenerId(String ListenerId)Set CLB listener ID | 
| void | setLocationId(String LocationId)Set Forwarding rule ID | 
| void | setTargets(Target[] Targets)Set List of real servers for which to modify the weight | 
| void | setUrl(String Url)Set Target rule URL. | 
| void | setWeight(Long Weight)Set New forwarding weight of a real server. | 
| 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 String getListenerId()
public void setListenerId(String ListenerId)
ListenerId - CLB listener IDpublic Target[] getTargets()
public void setTargets(Target[] Targets)
Targets - List of real servers for which to modify the weightpublic String getLocationId()
public void setLocationId(String LocationId)
LocationId - Forwarding rule IDpublic String getDomain()
public void setDomain(String Domain)
Domain - Target rule domain name. This parameter does not take effect if LocationId is specifiedpublic String getUrl()
public void setUrl(String Url)
Url - Target rule URL. This parameter does not take effect if LocationId is specifiedpublic Long getWeight()
public void setWeight(Long Weight)
Weight - New forwarding weight of a real server. Value range: 0-100.Copyright © 2020. All rights reserved.