public class TargetGroupAssociation extends AbstractModel
header, skipSign| Constructor and Description |
|---|
TargetGroupAssociation() |
TargetGroupAssociation(TargetGroupAssociation 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 Listener ID.
|
String |
getLoadBalancerId()
Get CLB instance ID
|
String |
getLocationId()
Get Forwarding rule ID
|
String |
getTargetGroupId()
Get Target group ID
|
Long |
getWeight()
Get Weight of the target group.
|
void |
setListenerId(String ListenerId)
Set Listener ID.
|
void |
setLoadBalancerId(String LoadBalancerId)
Set CLB instance ID
|
void |
setLocationId(String LocationId)
Set Forwarding rule ID
|
void |
setTargetGroupId(String TargetGroupId)
Set Target group ID
|
void |
setWeight(Long Weight)
Set Weight of the target group.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TargetGroupAssociation()
public TargetGroupAssociation(TargetGroupAssociation source)
public String getLoadBalancerId()
public void setLoadBalancerId(String LoadBalancerId)
LoadBalancerId - CLB instance IDpublic String getTargetGroupId()
public void setTargetGroupId(String TargetGroupId)
TargetGroupId - Target group IDpublic String getListenerId()
public void setListenerId(String ListenerId)
ListenerId - Listener ID. This parameter is required when the AssociateTargetGroups and DisassociateTargetGroups APIs are called.public String getLocationId()
public void setLocationId(String LocationId)
LocationId - Forwarding rule IDpublic Long getWeight()
public void setWeight(Long Weight)
Weight - Weight of the target group. Value range: [0, 100]. It takes effect only for binding v2 target groups. If not specified, it defaults to 10.Copyright © 2025. All rights reserved.