public class ModifyRuleAttributeRequest extends AbstractModel
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 Health check configuration parameters
|
String |
getForcedRedirect()
Get Enables HTTP-to-HTTPS force redirect for a forwarding rule.
|
String |
getForwardHost()
Get The forwarding host, which is carried in the request forwarded from the acceleration connection to the origin server.
|
String |
getForwardProtocol()
Get Protocol types of the forwarding from acceleration connection to origin server, which supports default, HTTP and HTTPS.
|
Long |
getHealthCheck()
Get Whether to enable the origin server health check:
1: enable;
0: disable.
|
String |
getListenerId()
Get Listener ID
|
String |
getPath()
Get Forwarding rule path
|
String |
getRuleId()
Get Forwarding rule ID
|
String |
getScheduler()
Get The strategy used by the listener to access the origin server.
|
String |
getServerNameIndication()
Get Server Name Indication (SNI).
|
String |
getServerNameIndicationSwitch()
Get Specifies whether to enable Server Name Indication (SNI).
|
void |
setCheckParams(RuleCheckParams CheckParams)
Set Health check configuration parameters
|
void |
setForcedRedirect(String ForcedRedirect)
Set Enables HTTP-to-HTTPS force redirect for a forwarding rule.
|
void |
setForwardHost(String ForwardHost)
Set The forwarding host, which is carried in the request forwarded from the acceleration connection to the origin server.
|
void |
setForwardProtocol(String ForwardProtocol)
Set Protocol types of the forwarding from acceleration connection to origin server, which supports default, HTTP and HTTPS.
|
void |
setHealthCheck(Long HealthCheck)
Set Whether to enable the origin server health check:
1: enable;
0: disable.
|
void |
setListenerId(String ListenerId)
Set Listener ID
|
void |
setPath(String Path)
Set Forwarding rule path
|
void |
setRuleId(String RuleId)
Set Forwarding rule ID
|
void |
setScheduler(String Scheduler)
Set The strategy used by the listener to access the origin server.
|
void |
setServerNameIndication(String ServerNameIndication)
Set Server Name Indication (SNI).
|
void |
setServerNameIndicationSwitch(String ServerNameIndicationSwitch)
Set Specifies whether to enable Server Name Indication (SNI).
|
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, toJsonString
public ModifyRuleAttributeRequest()
public ModifyRuleAttributeRequest(ModifyRuleAttributeRequest source)
public String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- Listener IDpublic String getRuleId()
public void setRuleId(String RuleId)
RuleId
- Forwarding rule IDpublic String getScheduler()
public void setScheduler(String Scheduler)
Scheduler
- The strategy used by the listener to access the origin server. Values: `rr` (round-robin), `wrr` (weighted round-robin), `lc` (the least-connections strategy), `lrtt` (the least-response-time strategy).public Long getHealthCheck()
public void setHealthCheck(Long HealthCheck)
HealthCheck
- Whether to enable the origin server health check:
1: enable;
0: disable.public RuleCheckParams getCheckParams()
public void setCheckParams(RuleCheckParams CheckParams)
CheckParams
- Health check configuration parameterspublic String getPath()
public void setPath(String Path)
Path
- Forwarding rule pathpublic String getForwardProtocol()
public void setForwardProtocol(String ForwardProtocol)
ForwardProtocol
- Protocol types of the forwarding from acceleration connection to origin server, which supports default, HTTP and HTTPS.
If `ForwardProtocol=default`, the `ForwardProtocol` of the listener will be used.public String getForwardHost()
public void setForwardHost(String ForwardHost)
ForwardHost
- The forwarding host, which is carried in the request forwarded from the acceleration connection to the origin server.
If `ForwardHost=default`, the domain name configured with the forwarding rule will be used. For other cases, the value set in this field will be used.public String getServerNameIndicationSwitch()
public void setServerNameIndicationSwitch(String ServerNameIndicationSwitch)
ServerNameIndicationSwitch
- Specifies whether to enable Server Name Indication (SNI). Valid values: `ON` (enable) and `OFF` (disable).public String getServerNameIndication()
public void setServerNameIndication(String ServerNameIndication)
ServerNameIndication
- Server Name Indication (SNI). This field is required when `ServerNameIndicationSwitch` is `ON`.public String getForcedRedirect()
public void setForcedRedirect(String ForcedRedirect)
ForcedRedirect
- Enables HTTP-to-HTTPS force redirect for a forwarding rule. Enter a hostname and path of the current forwarding rule.Copyright © 2023. All rights reserved.