public static class UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
host
The hostname to which requests are forwarded.
|
String |
path
The path to which requests are forwarded.
|
String |
query
The query string to which requests are forwarded.
|
| 构造器和说明 |
|---|
UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig() |
@NameInMap(value="Host") public String host
The hostname to which requests are forwarded.
Take note of the following rules when you specify a hostname:
* The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, and the following special characters: - . \\* = ~ _ + \\ ^ ! $ & | ( ) [ ] ?.
* The hostname must contain at least one period (.) but cannot start or end with a period (.).
* The rightmost domain label can contain only letters, asterisks (*), and question marks (?), and cannot contain digits or hyphens (-). The leftmost `domain label` can contain asterisks (*).
* The domain labels cannot start or end with a hyphen (-). You can specify asterisks (∗) and question marks (?) anywhere in a domain label.
@NameInMap(value="Path") public String path
The path to which requests are forwarded.
* **${path}** (default): You can reference \\\*\*${host}**, **${protocol}** and **${port}\\\*\*. Each variable can be used only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.
* A custom value that meets the following requirements:
* The custom value must be 1 to 128 characters in length. You can use asterisks (\\*) and question marks (?) as wildcards.
* The custom value can contain letters, digits, and the following special characters: `$ - _ . + / & ~ @ : \\" * ?`. The custom value must start with a forward slash (/) and cannot contain the following characters: `" % # ; ! ( ) [ ] ^ , "`.
@NameInMap(value="Query") public String query
The query string to which requests are forwarded.
The query string must be 1 to 128 characters in length, and can contain printable characters, excluding uppercase letters and the following special characters: `# [ ] { } \\ | < > &`.
public UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig()
public static UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig build(Map<String,?> map) throws Exception
Exceptionpublic UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig setHost(String host)
public String getHost()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig setPath(String path)
public String getPath()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsRewriteConfig setQuery(String query)
public String getQuery()
Copyright © 2024. All rights reserved.