public class ModifyRuleRequest extends AbstractModel
| Constructor and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getForwardType()Get Forwarding protocol between CLB instance and real server. | 
| HealthCheck | getHealthCheck()Get Health check information | 
| String | getListenerId()Get CLB listener ID | 
| String | getLoadBalancerId()Get CLB instance ID | 
| String | getLocationId()Get ID of the forwarding rule to be modified. | 
| String | getScheduler()Get Request forwarding method of the rule. | 
| Long | getSessionExpireTime()Get Session persistence time | 
| String | getTrpcCallee()Get TRPC callee server route, which is required when `ForwardType` is "TRPC". | 
| String | getTrpcFunc()Get TRPC calling service API, which is required when `ForwardType` is "TRPC". | 
| String | getUrl()Get New forwarding path of the forwarding rule. | 
| void | setForwardType(String ForwardType)Set Forwarding protocol between CLB instance and real server. | 
| void | setHealthCheck(HealthCheck HealthCheck)Set Health check information | 
| void | setListenerId(String ListenerId)Set CLB listener ID | 
| void | setLoadBalancerId(String LoadBalancerId)Set CLB instance ID | 
| void | setLocationId(String LocationId)Set ID of the forwarding rule to be modified. | 
| void | setScheduler(String Scheduler)Set Request forwarding method of the rule. | 
| void | setSessionExpireTime(Long SessionExpireTime)Set Session persistence time | 
| void | setTrpcCallee(String TrpcCallee)Set TRPC callee server route, which is required when `ForwardType` is "TRPC". | 
| void | setTrpcFunc(String TrpcFunc)Set TRPC calling service API, which is required when `ForwardType` is "TRPC". | 
| void | setUrl(String Url)Set New forwarding path of the forwarding rule. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic ModifyRuleRequest()
public ModifyRuleRequest(ModifyRuleRequest source)
public String getLoadBalancerId()
public void setLoadBalancerId(String LoadBalancerId)
LoadBalancerId - CLB instance IDpublic String getListenerId()
public void setListenerId(String ListenerId)
ListenerId - CLB listener IDpublic String getLocationId()
public void setLocationId(String LocationId)
LocationId - ID of the forwarding rule to be modified.public String getUrl()
public void setUrl(String Url)
Url - New forwarding path of the forwarding rule. This parameter is not required if the URL does not need to be modified.public HealthCheck getHealthCheck()
public void setHealthCheck(HealthCheck HealthCheck)
HealthCheck - Health check informationpublic String getScheduler()
public void setScheduler(String Scheduler)
Scheduler - Request forwarding method of the rule. Value range: WRR, LEAST_CONN, IP_HASH
They represent weighted round robin, least connections, and IP hash, respectively. Default value: WRR.public Long getSessionExpireTime()
public void setSessionExpireTime(Long SessionExpireTime)
SessionExpireTime - Session persistence timepublic String getForwardType()
public void setForwardType(String ForwardType)
ForwardType - Forwarding protocol between CLB instance and real server. Default value: HTTP. Valid values: HTTP, HTTPS, and TRPC.public String getTrpcCallee()
public void setTrpcCallee(String TrpcCallee)
TrpcCallee - TRPC callee server route, which is required when `ForwardType` is "TRPC".public String getTrpcFunc()
public void setTrpcFunc(String TrpcFunc)
TrpcFunc - TRPC calling service API, which is required when `ForwardType` is "TRPC".Copyright © 2022. All rights reserved.