Class ModifyRuleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.clb.v20180317.models.ModifyRuleRequest
-
public class ModifyRuleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyRuleRequest()ModifyRuleRequest(ModifyRuleRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetForwardType()Get 负载均衡实例与后端服务之间的转发协议,默认HTTP,可取值:HTTP、HTTPS、TRPC。HealthCheckgetHealthCheck()Get 健康检查信息。StringgetListenerId()Get 负载均衡监听器 ID。StringgetLoadBalancerId()Get 负载均衡实例 ID。StringgetLocationId()Get 要修改的转发规则的 ID。StringgetScheduler()Get 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH 分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。LonggetSessionExpireTime()Get 会话保持时间。StringgetTrpcCallee()Get TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。StringgetTrpcFunc()Get TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放。StringgetUrl()Get 转发规则的新的转发路径,如不需修改Url,则不需提供此参数。voidsetForwardType(String ForwardType)Set 负载均衡实例与后端服务之间的转发协议,默认HTTP,可取值:HTTP、HTTPS、TRPC。voidsetHealthCheck(HealthCheck HealthCheck)Set 健康检查信息。voidsetListenerId(String ListenerId)Set 负载均衡监听器 ID。voidsetLoadBalancerId(String LoadBalancerId)Set 负载均衡实例 ID。voidsetLocationId(String LocationId)Set 要修改的转发规则的 ID。voidsetScheduler(String Scheduler)Set 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH 分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。voidsetSessionExpireTime(Long SessionExpireTime)Set 会话保持时间。voidsetTrpcCallee(String TrpcCallee)Set TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。voidsetTrpcFunc(String TrpcFunc)Set TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放。voidsetUrl(String Url)Set 转发规则的新的转发路径,如不需修改Url,则不需提供此参数。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ModifyRuleRequest
public ModifyRuleRequest()
-
ModifyRuleRequest
public ModifyRuleRequest(ModifyRuleRequest 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.
-
-
Method Detail
-
getLoadBalancerId
public String getLoadBalancerId()
Get 负载均衡实例 ID。- Returns:
- LoadBalancerId 负载均衡实例 ID。
-
setLoadBalancerId
public void setLoadBalancerId(String LoadBalancerId)
Set 负载均衡实例 ID。- Parameters:
LoadBalancerId- 负载均衡实例 ID。
-
getListenerId
public String getListenerId()
Get 负载均衡监听器 ID。- Returns:
- ListenerId 负载均衡监听器 ID。
-
setListenerId
public void setListenerId(String ListenerId)
Set 负载均衡监听器 ID。- Parameters:
ListenerId- 负载均衡监听器 ID。
-
getLocationId
public String getLocationId()
Get 要修改的转发规则的 ID。- Returns:
- LocationId 要修改的转发规则的 ID。
-
setLocationId
public void setLocationId(String LocationId)
Set 要修改的转发规则的 ID。- Parameters:
LocationId- 要修改的转发规则的 ID。
-
getUrl
public String getUrl()
Get 转发规则的新的转发路径,如不需修改Url,则不需提供此参数。- Returns:
- Url 转发规则的新的转发路径,如不需修改Url,则不需提供此参数。
-
setUrl
public void setUrl(String Url)
Set 转发规则的新的转发路径,如不需修改Url,则不需提供此参数。- Parameters:
Url- 转发规则的新的转发路径,如不需修改Url,则不需提供此参数。
-
getHealthCheck
public HealthCheck getHealthCheck()
Get 健康检查信息。- Returns:
- HealthCheck 健康检查信息。
-
setHealthCheck
public void setHealthCheck(HealthCheck HealthCheck)
Set 健康检查信息。- Parameters:
HealthCheck- 健康检查信息。
-
getScheduler
public String getScheduler()
Get 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH 分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。- Returns:
- Scheduler 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH 分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
-
setScheduler
public void setScheduler(String Scheduler)
Set 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH 分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。- Parameters:
Scheduler- 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH 分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
-
getSessionExpireTime
public Long getSessionExpireTime()
Get 会话保持时间。- Returns:
- SessionExpireTime 会话保持时间。
-
setSessionExpireTime
public void setSessionExpireTime(Long SessionExpireTime)
Set 会话保持时间。- Parameters:
SessionExpireTime- 会话保持时间。
-
getForwardType
public String getForwardType()
Get 负载均衡实例与后端服务之间的转发协议,默认HTTP,可取值:HTTP、HTTPS、TRPC。- Returns:
- ForwardType 负载均衡实例与后端服务之间的转发协议,默认HTTP,可取值:HTTP、HTTPS、TRPC。
-
setForwardType
public void setForwardType(String ForwardType)
Set 负载均衡实例与后端服务之间的转发协议,默认HTTP,可取值:HTTP、HTTPS、TRPC。- Parameters:
ForwardType- 负载均衡实例与后端服务之间的转发协议,默认HTTP,可取值:HTTP、HTTPS、TRPC。
-
getTrpcCallee
public String getTrpcCallee()
Get TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。- Returns:
- TrpcCallee TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。
-
setTrpcCallee
public void setTrpcCallee(String TrpcCallee)
Set TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。- Parameters:
TrpcCallee- TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。
-
getTrpcFunc
public String getTrpcFunc()
Get TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放。- Returns:
- TrpcFunc TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放。
-
setTrpcFunc
public void setTrpcFunc(String TrpcFunc)
Set TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放。- Parameters:
TrpcFunc- TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放。
-
-