public static final class DescribeNatFirewallControlPolicyResponseBody.Policys.Builder extends Object
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder aclAction(String aclAction)
The action that Cloud Firewall performs on the traffic. Valid values:
accept
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder aclUuid(String aclUuid)
The UUID of the access control policy.
example:00281255-d220-4db1-8f4f-c4df221a****
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder applicationNameList(List<String> applicationNameList)
The application names.
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder createTime(Long createTime)
The time when the access control policy was created.
example:1761062400
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder description(String description)
The description of the access control policy.
example:test
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder destPort(String destPort)
The destination port in the access control policy.
example:80
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder destPortGroup(String destPortGroup)
The name of the destination port address book in the access control policy.
example:my_port_group
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder destPortGroupPorts(List<String> destPortGroupPorts)
The ports in the destination port address book.
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder destPortType(String destPortType)
The type of the destination port in the access control policy. Valid values:
port
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder destination(String destination)
The destination address in the access control policy. The value of this parameter varies based on the value of DestinationType. Valid values:
x.x.x.x/32
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder destinationGroupCidrs(List<String> destinationGroupCidrs)
The CIDR blocks in the destination address book.
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder destinationGroupType(String destinationGroupType)
The type of the destination address book in the access control policy. Valid values:
ip
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder destinationType(String destinationType)
The type of the destination address in the access control policy. Valid values:
net
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder dnsResult(String dnsResult)
The DNS resolution result.
example:111.0.XX.XX,112.0.XX.XX
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder dnsResultTime(Long dnsResultTime)
The time when the Domain Name System (DNS) resolution was performed. The value is a UNIX timestamp. Unit: seconds.
example:1579261141
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder domainResolveType(Integer domainResolveType)
The domain name resolution method of the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:
1
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder endTime(Long endTime)
The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The end time must be on the hour or on the half hour, and at least 30 minutes later than the start time.
example:If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.
1694764800
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder hitLastTime(Long hitLastTime)
The time when the access control policy was last hit. The value is a UNIX timestamp. Unit: seconds.
example:1579261141
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder hitTimes(Long hitTimes)
The number of hits for the access control policy.
example:100
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder modifyTime(Long modifyTime)
The time when the access control policy was modified.
example:1761062400
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder natGatewayId(String natGatewayId)
The ID of the NAT gateway.
example:ngw-xxxxxx
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder order(Integer order)
The priority of the access control policy.
The priority value starts from 1. A smaller priority value indicates a higher priority.
example:1
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder proto(String proto)
The protocol type in the access control policy. Valid values:
TCP
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder release(String release)
The status of the access control policy. By default, an access control policy is enabled after it is created. Valid values:
true
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder repeatDays(List<Long> repeatDays)
The days of a week or of a month on which the access control policy takes effect.
Permanent, None, or Daily, the value of this parameter is an empty array. Example: [].If RepeatType is set to Weekly, the fields in the value of this parameter cannot be repeated.
Monthly, this parameter must be specified. Example: [1, 31].If RepeatType is set to Monthly, the fields in the value of this parameter cannot be repeated.
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder repeatEndTime(String repeatEndTime)
The point in time when the recurrence ends. Example: 23:30. The end time must be on the hour or on the half hour, and at least 30 minutes later than the start time.
example:If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.
23:30
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder repeatStartTime(String repeatStartTime)
The point in time when the recurrence starts. Example: 08:00. The start time must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.
example:If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.
08:00
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder repeatType(String repeatType)
The recurrence type for the access control policy to take effect. Valid values:
Permanent
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder source(String source)
The source address in the access control policy. Valid values:
net, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.group, the value of this parameter is the name of an address book. Example: db_group.location, the value of this parameter is a location. For more information about location codes, see AddControlPolicy. Example: ["BJ11", "ZB"].192.0.XX.XX/24
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder sourceGroupCidrs(List<String> sourceGroupCidrs)
The CIDR blocks in the source address book.
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder sourceGroupType(String sourceGroupType)
The type of the source address book in the access control policy. The value is fixed as ip. The value indicates an address book that includes one or more CIDR blocks.
example:ip
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder sourceType(String sourceType)
The type of the source address in the access control policy. Valid values:
net
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder spreadCnt(String spreadCnt)
The total quota consumed by the returned access control policies, which is the sum of the quota consumed by each policy. The quota that is consumed by an access control policy is calculated by using the following formula: Quota that is consumed by an access control policy = Number of source addresses (number of CIDR blocks or regions) × Number of destination addresses (number of CIDR blocks, regions, or domain names) × Number of port ranges × Number of applications.
example:10,000
public DescribeNatFirewallControlPolicyResponseBody.Policys.Builder startTime(Long startTime)
The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The start time must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.
example:If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.
1694761200
public DescribeNatFirewallControlPolicyResponseBody.Policys build()
Copyright © 2026. All rights reserved.