public class ModifyTargetPortRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyTargetPortRequest() |
ModifyTargetPortRequest(ModifyTargetPortRequest 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 |
getDomain()
Get Target rule domain name.
|
String |
getListenerId()
Get CLB listener ID
|
String |
getLoadBalancerId()
Get CLB instance ID
|
String |
getLocationId()
Get Forwarding rule ID.
|
Long |
getNewPort()
Get New port of the real server bound to a listener or forwarding rule
|
Target[] |
getTargets()
Get List of real servers for which to modify the ports
|
String |
getUrl()
Get Target rule URL.
|
void |
setDomain(String Domain)
Set Target rule domain name.
|
void |
setListenerId(String ListenerId)
Set CLB listener ID
|
void |
setLoadBalancerId(String LoadBalancerId)
Set CLB instance ID
|
void |
setLocationId(String LocationId)
Set Forwarding rule ID.
|
void |
setNewPort(Long NewPort)
Set New port of the real server bound to a listener or forwarding rule
|
void |
setTargets(Target[] Targets)
Set List of real servers for which to modify the ports
|
void |
setUrl(String Url)
Set Target rule URL.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyTargetPortRequest()
public ModifyTargetPortRequest(ModifyTargetPortRequest 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 portspublic Long getNewPort()
public void setNewPort(Long NewPort)
NewPort
- New port of the real server bound to a listener or forwarding rulepublic String getLocationId()
public void setLocationId(String LocationId)
LocationId
- Forwarding rule ID. When binding a real server to a layer-7 forwarding rule, you must provide either this parameter or Domain+Url.public String getDomain()
public void setDomain(String Domain)
Domain
- Target rule domain name. This parameter does not take effect if LocationId is specified.public String getUrl()
public void setUrl(String Url)
Url
- Target rule URL. This parameter does not take effect if LocationId is specified.Copyright © 2024. All rights reserved.