Class ModifyRuleAttributeRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gaap.v20180529.models.ModifyRuleAttributeRequest
-
public class ModifyRuleAttributeRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 监听器IDString
getPath()
Get 转发规则路径String
getRuleId()
Get 转发规则IDString
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 监听器IDvoid
setPath(String Path)
Set 转发规则路径void
setRuleId(String RuleId)
Set 转发规则IDvoid
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.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ModifyRuleAttributeRequest
public ModifyRuleAttributeRequest()
-
ModifyRuleAttributeRequest
public 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.
-
-
Method Detail
-
getListenerId
public String getListenerId()
Get 监听器ID- Returns:
- ListenerId 监听器ID
-
setListenerId
public void setListenerId(String ListenerId)
Set 监听器ID- Parameters:
ListenerId
- 监听器ID
-
getRuleId
public String getRuleId()
Get 转发规则ID- Returns:
- RuleId 转发规则ID
-
setRuleId
public void setRuleId(String RuleId)
Set 转发规则ID- Parameters:
RuleId
- 转发规则ID
-
getScheduler
public String getScheduler()
Get 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。- Returns:
- Scheduler 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。
-
setScheduler
public void setScheduler(String Scheduler)
Set 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。- Parameters:
Scheduler
- 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。
-
getHealthCheck
public Long getHealthCheck()
Get 源站健康检查开关,其中: 1,开启; 0,关闭。- Returns:
- HealthCheck 源站健康检查开关,其中: 1,开启; 0,关闭。
-
setHealthCheck
public void setHealthCheck(Long HealthCheck)
Set 源站健康检查开关,其中: 1,开启; 0,关闭。- Parameters:
HealthCheck
- 源站健康检查开关,其中: 1,开启; 0,关闭。
-
getCheckParams
public RuleCheckParams getCheckParams()
Get 健康检查配置参数- Returns:
- CheckParams 健康检查配置参数
-
setCheckParams
public void setCheckParams(RuleCheckParams CheckParams)
Set 健康检查配置参数- Parameters:
CheckParams
- 健康检查配置参数
-
getPath
public String getPath()
Get 转发规则路径- Returns:
- Path 转发规则路径
-
setPath
public void setPath(String Path)
Set 转发规则路径- Parameters:
Path
- 转发规则路径
-
getForwardProtocol
public String getForwardProtocol()
Get 加速通道转发到源站的协议类型,支持:default, HTTP和HTTPS。 当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。- Returns:
- ForwardProtocol 加速通道转发到源站的协议类型,支持:default, HTTP和HTTPS。 当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。
-
setForwardProtocol
public void setForwardProtocol(String ForwardProtocol)
Set 加速通道转发到源站的协议类型,支持:default, HTTP和HTTPS。 当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。- Parameters:
ForwardProtocol
- 加速通道转发到源站的协议类型,支持:default, HTTP和HTTPS。 当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。
-
getForwardHost
public String getForwardHost()
Get 回源Host。加速通道转发到源站的请求中携带的host。 当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。- Returns:
- ForwardHost 回源Host。加速通道转发到源站的请求中携带的host。 当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。
-
setForwardHost
public void setForwardHost(String ForwardHost)
Set 回源Host。加速通道转发到源站的请求中携带的host。 当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。- Parameters:
ForwardHost
- 回源Host。加速通道转发到源站的请求中携带的host。 当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。
-
getServerNameIndicationSwitch
public String getServerNameIndicationSwitch()
Get 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。- Returns:
- ServerNameIndicationSwitch 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。
-
setServerNameIndicationSwitch
public void setServerNameIndicationSwitch(String ServerNameIndicationSwitch)
Set 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。- Parameters:
ServerNameIndicationSwitch
- 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。
-
getServerNameIndication
public String getServerNameIndication()
Get 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。- Returns:
- ServerNameIndication 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。
-
setServerNameIndication
public void setServerNameIndication(String ServerNameIndication)
Set 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。- Parameters:
ServerNameIndication
- 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。
-
getForcedRedirect
public String getForcedRedirect()
Get HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。- Returns:
- ForcedRedirect HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。
-
setForcedRedirect
public void setForcedRedirect(String ForcedRedirect)
Set HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。- Parameters:
ForcedRedirect
- HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。
-
-