public class ModifyRuleAttributeRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyRuleAttributeRequest() |
ModifyRuleAttributeRequest(ModifyRuleAttributeRequest 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 |
---|---|
RuleCheckParams |
getCheckParams()
Get 健康检查配置参数
|
String |
getForcedRedirect()
Get HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。
|
String |
getForwardHost()
Get 回源Host。加速通道转发到源站的请求中携带的host。
当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。
|
String |
getForwardProtocol()
Get 加速通道转发到源站的协议类型,支持:default, HTTP和HTTPS。
当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。
|
Long |
getHealthCheck()
Get 源站健康检查开关,其中:
1,开启;
0,关闭。
|
String |
getListenerId()
Get 监听器ID
|
String |
getPath()
Get 转发规则路径
|
String |
getRuleId()
Get 转发规则ID
|
String |
getScheduler()
Get 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。
|
String |
getServerNameIndication()
Get 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。
|
String |
getServerNameIndicationSwitch()
Get 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。
|
void |
setCheckParams(RuleCheckParams CheckParams)
Set 健康检查配置参数
|
void |
setForcedRedirect(String ForcedRedirect)
Set HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。
|
void |
setForwardHost(String ForwardHost)
Set 回源Host。加速通道转发到源站的请求中携带的host。
当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。
|
void |
setForwardProtocol(String ForwardProtocol)
Set 加速通道转发到源站的协议类型,支持:default, HTTP和HTTPS。
当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。
|
void |
setHealthCheck(Long HealthCheck)
Set 源站健康检查开关,其中:
1,开启;
0,关闭。
|
void |
setListenerId(String ListenerId)
Set 监听器ID
|
void |
setPath(String Path)
Set 转发规则路径
|
void |
setRuleId(String RuleId)
Set 转发规则ID
|
void |
setScheduler(String Scheduler)
Set 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。
|
void |
setServerNameIndication(String ServerNameIndication)
Set 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。
|
void |
setServerNameIndicationSwitch(String ServerNameIndicationSwitch)
Set 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。
|
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, toJsonString
public ModifyRuleAttributeRequest()
public ModifyRuleAttributeRequest(ModifyRuleAttributeRequest source)
public String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- 监听器IDpublic String getRuleId()
public void setRuleId(String RuleId)
RuleId
- 转发规则IDpublic String getScheduler()
public void setScheduler(String Scheduler)
Scheduler
- 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。public Long getHealthCheck()
public void setHealthCheck(Long HealthCheck)
HealthCheck
- 源站健康检查开关,其中:
1,开启;
0,关闭。public RuleCheckParams getCheckParams()
public void setCheckParams(RuleCheckParams CheckParams)
CheckParams
- 健康检查配置参数public String getPath()
public void setPath(String Path)
Path
- 转发规则路径public String getForwardProtocol()
public void setForwardProtocol(String ForwardProtocol)
ForwardProtocol
- 加速通道转发到源站的协议类型,支持:default, HTTP和HTTPS。
当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。public String getForwardHost()
public void setForwardHost(String ForwardHost)
ForwardHost
- 回源Host。加速通道转发到源站的请求中携带的host。
当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。public String getServerNameIndicationSwitch()
public void setServerNameIndicationSwitch(String ServerNameIndicationSwitch)
ServerNameIndicationSwitch
- 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。public String getServerNameIndication()
public void setServerNameIndication(String ServerNameIndication)
ServerNameIndication
- 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。public String getForcedRedirect()
public void setForcedRedirect(String ForcedRedirect)
ForcedRedirect
- HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。Copyright © 2024. All rights reserved.