public class ModifyTargetWeightRequest extends AbstractModel
Constructor and Description |
---|
ModifyTargetWeightRequest() |
ModifyTargetWeightRequest(ModifyTargetWeightRequest 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
|
String |
getLoadBalancerId()
Get CLB instance ID
|
Target[] |
getTargets()
Get List of real servers for which to modify the weights
|
Long |
getWeight()
Get New forwarding weight of the real server.
|
void |
setListenerId(String ListenerId)
Set CLB listener ID
|
void |
setLoadBalancerId(String LoadBalancerId)
Set CLB instance ID
|
void |
setTargets(Target[] Targets)
Set List of real servers for which to modify the weights
|
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 ModifyTargetWeightRequest()
public ModifyTargetWeightRequest(ModifyTargetWeightRequest source)
public String getLoadBalancerId()
public void setLoadBalancerId(String LoadBalancerId)
LoadBalancerId
- CLB instance IDpublic 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 weightspublic Long getWeight()
public void setWeight(Long Weight)
Weight
- New forwarding weight of the real server. Value range: 0-100. Default value: 10. This parameter will not take effect if the `Targets.Weight` parameter is set.Copyright © 2023. All rights reserved.