public static final class DescribeNatFirewallControlPolicyRequest.Builder extends Object
public DescribeNatFirewallControlPolicyRequest.Builder aclAction(String aclAction)
The action that Cloud Firewall performs on the traffic.
Valid values:
accept
public DescribeNatFirewallControlPolicyRequest.Builder aclUuid(String aclUuid)
The UUID of the access control policy.
example:303f0697-2a21-4e43-b142-4a77adf7b358
public DescribeNatFirewallControlPolicyRequest.Builder currentPage(String currentPage)
The page number.
example:1
public DescribeNatFirewallControlPolicyRequest.Builder description(String description)
The description of the access control policy. Fuzzy match is supported.
example:If you do not specify this parameter, the descriptions of all policies are queried.
test
public DescribeNatFirewallControlPolicyRequest.Builder destination(String destination)
The destination address in the access control policy. Fuzzy match is supported. The value of this parameter varies based on the value of the DestinationType parameter.
net, the value of Destination must be a CIDR block. Example: 10.0.3.0/24.domain, the value of Destination must be a domain name. Example: aliyun.group, the value of Destination must be the name of an address book. Example: db_group.location, the value of Destination is a location. For more information about location codes, see AddControlPolicy. Example: ["BJ11", "ZB"].example:If you do not specify this parameter, all types of destination addresses are queried.
x.x.x.x/32
public DescribeNatFirewallControlPolicyRequest.Builder direction(String direction)
The direction of the traffic to which the access control policy applies. Valid values:
This parameter is required.
example:out
public DescribeNatFirewallControlPolicyRequest.Builder lang(String lang)
The language of the content within the response. Valid values:
zh
public DescribeNatFirewallControlPolicyRequest.Builder natGatewayId(String natGatewayId)
The ID of the NAT gateway.
This parameter is required.
example:ngw-xxxxxx
public DescribeNatFirewallControlPolicyRequest.Builder pageSize(String pageSize)
The number of entries per page. Default value: 10.
example:10
public DescribeNatFirewallControlPolicyRequest.Builder proto(String proto)
The type of the protocol in the access control policy. Valid values:
example:If you do not specify this parameter, access control policies of all protocol types are queried.
ANY
public DescribeNatFirewallControlPolicyRequest.Builder release(String release)
Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values:
true
public DescribeNatFirewallControlPolicyRequest.Builder repeatType(String repeatType)
The recurrence type for the access control policy to take effect. Valid values:
Permanent
public DescribeNatFirewallControlPolicyRequest.Builder source(String source)
The source address in the access control policy. Fuzzy match is supported. The value of this parameter varies based on the value of the SourceType parameter.
net, the value of Source must be a CIDR block. Example: 192.0.XX.XX/24.group, the value of Source must be the name of an address book. Example: db_group. If the db_group address book does not contain addresses, all source addresses are queried.location, the value of Source must be a location. Example: beijing.example:If you do not specify this parameter, all types of source addresses are queried.
1.1.1.1/32
public DescribeNatFirewallControlPolicyRequest build()
Copyright © 2026. All rights reserved.