public class TargetsWeightRule extends AbstractModel
Constructor and Description |
---|
TargetsWeightRule() |
TargetsWeightRule(TargetsWeightRule 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 |
---|---|
String |
getListenerId()
Get CLB listener ID
Note: this field may return null, indicating that no valid values can be obtained.
|
Target[] |
getTargets()
Get List of real servers for which to modify the weights
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getWeight()
Get New forwarding weight of the real server.
|
void |
setListenerId(String ListenerId)
Set CLB listener ID
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setTargets(Target[] Targets)
Set List of real servers for which to modify the weights
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setWeight(Long Weight)
Set New forwarding weight of the 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, toJsonString
public TargetsWeightRule()
public TargetsWeightRule(TargetsWeightRule source)
public String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- CLB listener ID
Note: this field may return null, indicating that no valid values can be obtained.public Target[] getTargets()
public void setTargets(Target[] Targets)
Targets
- List of real servers for which to modify the weights
Note: this field may return null, indicating that no valid values can be obtained.public Long getWeight()
public void setWeight(Long Weight)
Weight
- New forwarding weight of the real server. Value range: 0–100.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.