public class ForwardLoadBalancer extends AbstractModel
header, skipSign
Constructor and Description |
---|
ForwardLoadBalancer() |
ForwardLoadBalancer(ForwardLoadBalancer 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 ID of the load balancer.
|
String |
getLocationId()
Get The forwarding rule ID.
|
String |
getRegion()
Get The region of CLB instance.
|
TargetAttribute[] |
getTargetAttributes()
Get Target rule attribute list.
|
void |
setListenerId(String ListenerId)
Set CLB listener ID.
|
void |
setLoadBalancerId(String LoadBalancerId)
Set ID of the load balancer.
|
void |
setLocationId(String LocationId)
Set The forwarding rule ID.
|
void |
setRegion(String Region)
Set The region of CLB instance.
|
void |
setTargetAttributes(TargetAttribute[] TargetAttributes)
Set Target rule attribute list.
|
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 ForwardLoadBalancer()
public ForwardLoadBalancer(ForwardLoadBalancer source)
public String getLoadBalancerId()
public void setLoadBalancerId(String LoadBalancerId)
LoadBalancerId
- ID of the load balancer. this parameter is required as an input parameter. you can obtain it through the [DescribeLoadBalancers](https://intl.cloud.tencent.com/document/product/214/30685?from_cn_redirect=1) api.public String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- CLB listener ID. as an input parameter, this parameter is required. you can obtain it through the [DescribeLoadBalancers](https://intl.cloud.tencent.com/document/product/214/30685?from_cn_redirect=1) api.public TargetAttribute[] getTargetAttributes()
public void setTargetAttributes(TargetAttribute[] TargetAttributes)
TargetAttributes
- Target rule attribute list. as an input parameter, this parameter is required.public String getLocationId()
public void setLocationId(String LocationId)
LocationId
- The forwarding rule ID. note: this parameter is required for layer-7 (http/https) listeners. it can be obtained through the [DescribeLoadBalancers](https://intl.cloud.tencent.com/document/product/214/30685?from_cn_redirect=1) api.public String getRegion()
public void setRegion(String Region)
Region
- The region of CLB instance. It defaults to the region of AS service and is in the format of the common parameter `Region`, such as `ap-guangzhou`.Copyright © 2025. All rights reserved.