public class UpdateRuleAttributeRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
Integer |
priority
The priority of the forwarding rule.
|
List<UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleActions> |
ruleActions
The actions of the forwarding rule.
|
List<UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions> |
ruleConditions
The match condition of the forwarding rule.
|
String |
ruleId
The ID of the forwarding rule.
|
String |
ruleName
The name of the forwarding rule.
|
| 构造器和说明 |
|---|
UpdateRuleAttributeRequest() |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
* **true**: performs a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
* **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
@NameInMap(value="Priority") public Integer priority
The priority of the forwarding rule. Valid values: **1 to 10000**. A lower value specifies a higher priority.
> The priorities of the forwarding rules created for the same listener must be unique.
@NameInMap(value="RuleActions") public List<UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleActions> ruleActions
The actions of the forwarding rule.
@NameInMap(value="RuleConditions") public List<UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions> ruleConditions
The match condition of the forwarding rule.
@NameInMap(value="RuleId") public String ruleId
The ID of the forwarding rule.
This parameter is required.
@NameInMap(value="RuleName") public String ruleName
The name of the forwarding rule. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
public static UpdateRuleAttributeRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateRuleAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateRuleAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public UpdateRuleAttributeRequest setPriority(Integer priority)
public Integer getPriority()
public UpdateRuleAttributeRequest setRuleActions(List<UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleActions> ruleActions)
public List<UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleActions> getRuleActions()
public UpdateRuleAttributeRequest setRuleConditions(List<UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions> ruleConditions)
public List<UpdateRuleAttributeRequest.UpdateRuleAttributeRequestRuleConditions> getRuleConditions()
public UpdateRuleAttributeRequest setRuleId(String ruleId)
public String getRuleId()
public UpdateRuleAttributeRequest setRuleName(String ruleName)
public String getRuleName()
Copyright © 2024. All rights reserved.