public class BindRuleRealServersRequest extends AbstractModel
Constructor and Description |
---|
BindRuleRealServersRequest() |
Modifier and Type | Method and Description |
---|---|
RealServerBindSetReq[] |
getRealServerBindSet()
Get An information list of the origin servers to bind.
|
String |
getRuleId()
Get Forwarding rule ID
|
void |
setRealServerBindSet(RealServerBindSetReq[] RealServerBindSet)
Set An information list of the origin servers to bind.
|
void |
setRuleId(String RuleId)
Set Forwarding rule ID
|
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 String getRuleId()
public void setRuleId(String RuleId)
RuleId
- Forwarding rule IDpublic RealServerBindSetReq[] getRealServerBindSet()
public void setRealServerBindSet(RealServerBindSetReq[] RealServerBindSet)
RealServerBindSet
- An information list of the origin servers to bind.
If there are origin servers bound already, they will be replaced by this new origin server list.
If this field is empty, it indicates unbinding all origin servers of this rule.
If the origin server scheduling policy type of this rule is weighted round robin, you need to enter `RealServerWeight`, i.e., the origin server weight. If this field is left empty or for other scheduling types, the default origin server weight is 1.Copyright © 2020. All rights reserved.