public class RsTagRule
extends com.tencentcloudapi.common.AbstractModel
| Constructor and Description |
|---|
RsTagRule() |
RsTagRule(RsTagRule 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 负载均衡监听器 ID。
|
String |
getLocationId()
Get 转发规则的ID,七层规则时需要此参数,4层规则不需要。
|
String |
getTag()
Get 后端服务修改后的标签。此参数的优先级低于前述[Target](https://cloud.tencent.com/document/api/214/30694#Target)中的Tag参数,即最终的标签以Target中的Tag参数值为准,仅当Target中的Weight参数为空时,才以RsTagRule中的Tag参数为准。
|
Target[] |
getTargets()
Get 要修改标签的后端机器列表。
|
void |
setListenerId(String ListenerId)
Set 负载均衡监听器 ID。
|
void |
setLocationId(String LocationId)
Set 转发规则的ID,七层规则时需要此参数,4层规则不需要。
|
void |
setTag(String Tag)
Set 后端服务修改后的标签。此参数的优先级低于前述[Target](https://cloud.tencent.com/document/api/214/30694#Target)中的Tag参数,即最终的标签以Target中的Tag参数值为准,仅当Target中的Weight参数为空时,才以RsTagRule中的Tag参数为准。
|
void |
setTargets(Target[] Targets)
Set 要修改标签的后端机器列表。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
public RsTagRule()
public RsTagRule(RsTagRule source)
public String getListenerId()
public void setListenerId(String ListenerId)
ListenerId - 负载均衡监听器 ID。public Target[] getTargets()
public void setTargets(Target[] Targets)
Targets - 要修改标签的后端机器列表。public String getLocationId()
public void setLocationId(String LocationId)
LocationId - 转发规则的ID,七层规则时需要此参数,4层规则不需要。public String getTag()
public void setTag(String Tag)
Tag - 后端服务修改后的标签。此参数的优先级低于前述[Target](https://cloud.tencent.com/document/api/214/30694#Target)中的Tag参数,即最终的标签以Target中的Tag参数值为准,仅当Target中的Weight参数为空时,才以RsTagRule中的Tag参数为准。Copyright © 2024. All rights reserved.