public static class UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
UpdateRulesAttributeRequestRulesRuleConditions() |
@NameInMap(value="CookieConfig") public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsCookieConfig cookieConfig
The match conditions for cookies. You can add up to 20 match conditions.
@NameInMap(value="HeaderConfig") public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig headerConfig
The match conditions for HTTP headers. You can specify up to 20 match conditions.
@NameInMap(value="HostConfig") public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsHostConfig hostConfig
The match conditions for hostnames. You can specify up to 20 match conditions.
@NameInMap(value="MethodConfig") public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsMethodConfig methodConfig
The match conditions for HTTP request methods. Valid values of N: **1** to **20**.
@NameInMap(value="PathConfig") public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsPathConfig pathConfig
The match conditions for query strings. You can specify up to 20 match conditions.
@NameInMap(value="QueryStringConfig") public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfig queryStringConfig
The match conditions for query strings. You can specify up to 20 match conditions.
@NameInMap(value="ResponseHeaderConfig") public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig responseHeaderConfig
The configuration of the HTTP response header. You can specify the configurations of up to 20 HTTP response header.
@NameInMap(value="ResponseStatusCodeConfig") public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsResponseStatusCodeConfig responseStatusCodeConfig
The match conditions for response status codes. This parameter is required and takes effect when **Type** is set to **ResponseStatusCode**. You can specify up to 20 match conditions.
@NameInMap(value="SourceIpConfig") public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsSourceIpConfig sourceIpConfig
The configuration of the source IP addresses based on which user traffic is matched. You can specify up to 20 configuration records.
@NameInMap(value="Type") public String type
The type of action specified in the forwarding rule. You can specify up to 11 types of actions. Valid values:
* **ForwardGroup**: forwards a request to multiple vServer groups.
* **Redirect**: redirects a request.
* **FixedResponse**: returns a custom response.
* **Rewrite**: rewrites a request.
* **InsertHeader**: inserts a header.
* **RemoveHeaderConfig**: deletes a header.
* **TrafficLimitConfig**: throttles network traffic.
* **TrafficMirrorConfig**: mirrors traffic.
* **CorsConfig**: forwards requests based on CORS.
The following action types are supported:
* **FinalType**: the last action to be performed in a forwarding rule. Each forwarding rule can contain only one FinalType action. You can specify a **ForwardGroup**, **Redirect**, or **FixedResponse** action as the FinalType action.
* **ExtType**: the action or the actions to be performed before the **FinalType** action. A forwarding rule can contain one or more **ExtType** actions. To specify an ExtType action, you must specify a **FinalType** action. You can specify multiple **InsertHeader** actions or one **Rewrite** action.
public UpdateRulesAttributeRequestRulesRuleConditions()
public static UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions build(Map<String,?> map) throws Exception
Exceptionpublic UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setCookieConfig(UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsCookieConfig cookieConfig)
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsCookieConfig getCookieConfig()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setHeaderConfig(UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig headerConfig)
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsHeaderConfig getHeaderConfig()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setHostConfig(UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsHostConfig hostConfig)
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsHostConfig getHostConfig()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setMethodConfig(UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsMethodConfig methodConfig)
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsMethodConfig getMethodConfig()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setPathConfig(UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsPathConfig pathConfig)
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsPathConfig getPathConfig()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setQueryStringConfig(UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfig queryStringConfig)
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsQueryStringConfig getQueryStringConfig()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setResponseHeaderConfig(UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig responseHeaderConfig)
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsResponseHeaderConfig getResponseHeaderConfig()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setResponseStatusCodeConfig(UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsResponseStatusCodeConfig responseStatusCodeConfig)
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsResponseStatusCodeConfig getResponseStatusCodeConfig()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setSourceIpConfig(UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsSourceIpConfig sourceIpConfig)
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditionsSourceIpConfig getSourceIpConfig()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleConditions setType(String type)
public String getType()
Copyright © 2024. All rights reserved.