public static class UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
UpdateRuleAttributeRequestRuleConditions() |
@NameInMap(value="CookieConfig") public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsCookieConfig cookieConfig
The configuration of the cookie.
@NameInMap(value="HeaderConfig") public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsHeaderConfig headerConfig
The configuration of the header.
@NameInMap(value="HostConfig") public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsHostConfig hostConfig
The configurations of the hosts.
@NameInMap(value="MethodConfig") public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsMethodConfig methodConfig
The configurations of the request methods.
@NameInMap(value="PathConfig") public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsPathConfig pathConfig
The configurations of the paths.
@NameInMap(value="QueryStringConfig") public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsQueryStringConfig queryStringConfig
The configurations of the query strings. You can specify at most 20 query conditions.
@NameInMap(value="ResponseHeaderConfig") public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig responseHeaderConfig
The configuration of the header.
@NameInMap(value="ResponseStatusCodeConfig") public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsResponseStatusCodeConfig responseStatusCodeConfig
The configurations of the response status codes.
@NameInMap(value="SourceIpConfig") public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsSourceIpConfig sourceIpConfig
The configuration of the source IP addresses based on which user traffic is matched. You can add at most five source IP-based forwarding rules.
@NameInMap(value="Type") public String type
The type of the forwarding rule. You can specify up to seven types. Valid values:
* **Host**: Requests are forwarded based on hosts.
* **Path**: Requests are forwarded based on paths.
* **Header**: Requests are forwarded based on HTTP headers.
* **QueryString**: Requests are forwarded based on query strings.
* **Method**: Requests are forwarded based on request methods.
* **Cookie**: Requests are forwarded based on cookies.
* **SourceIp**: Requests are distributed based on source IP addresses.
* **ResponseHeader**: Requests are forwarded based on HTTP response headers.
* **ResponseStatusCode**: Requests are forwarded based on response status codes.
public static UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions build(Map<String,?> map) throws Exception
Exceptionpublic UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setCookieConfig(UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsCookieConfig cookieConfig)
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsCookieConfig getCookieConfig()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setHeaderConfig(UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsHeaderConfig headerConfig)
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsHeaderConfig getHeaderConfig()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setHostConfig(UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsHostConfig hostConfig)
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsHostConfig getHostConfig()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setMethodConfig(UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsMethodConfig methodConfig)
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsMethodConfig getMethodConfig()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setPathConfig(UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsPathConfig pathConfig)
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsPathConfig getPathConfig()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setQueryStringConfig(UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsQueryStringConfig queryStringConfig)
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsQueryStringConfig getQueryStringConfig()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setResponseHeaderConfig(UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig responseHeaderConfig)
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsResponseHeaderConfig getResponseHeaderConfig()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setResponseStatusCodeConfig(UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsResponseStatusCodeConfig responseStatusCodeConfig)
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsResponseStatusCodeConfig getResponseStatusCodeConfig()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setSourceIpConfig(UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsSourceIpConfig sourceIpConfig)
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditionsSourceIpConfig getSourceIpConfig()
public UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions setType(String type)
public String getType()
Copyright © 2024. All rights reserved.