public static final class ModifyControlPolicyPositionRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyControlPolicyPositionRequest |
build() |
ModifyControlPolicyPositionRequest.Builder |
direction(String direction)
The direction of the traffic to which the IPv4 access control policy applies.
|
ModifyControlPolicyPositionRequest.Builder |
lang(String lang)
The language of the content within the response.
|
ModifyControlPolicyPositionRequest.Builder |
newOrder(String newOrder)
The new priority of the IPv4 access control policy.
|
ModifyControlPolicyPositionRequest.Builder |
oldOrder(String oldOrder)
The original priority of the IPv4 access control policy.
|
ModifyControlPolicyPositionRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
public ModifyControlPolicyPositionRequest.Builder direction(String direction)
The direction of the traffic to which the IPv4 access control policy applies. Valid values:
This parameter is required.
example:in
public ModifyControlPolicyPositionRequest.Builder lang(String lang)
The language of the content within the response. Valid values:
zh
public ModifyControlPolicyPositionRequest.Builder newOrder(String newOrder)
The new priority of the IPv4 access control policy. You must specify a numeric value for this parameter. The value 1 indicates the highest priority. A larger value indicates a lower priority.
The new priority cannot exceed the priority range of the IPv4 access control policy. Otherwise, an error occurs when you call this operation. Before you call this operation, we recommend that you use the DescribePolicyPriorUsed operation to query the priority range of the IPv4 access control policy in the specified direction.
This parameter is required.
example:1
public ModifyControlPolicyPositionRequest.Builder oldOrder(String oldOrder)
The original priority of the IPv4 access control policy.
This parameter is required.
example:5
public ModifyControlPolicyPositionRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:192.0.XX.XX
public ModifyControlPolicyPositionRequest build()
Copyright © 2026. All rights reserved.