public static final class DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder description(String description)
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder destinationCidrIp(String destinationCidrIp)
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder entryType(String entryType)
- **custom** - **system**
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder ipVersion(String ipVersion)
* **IPv4** * **IPv6**
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder networkAclEntryId(String networkAclEntryId)
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder networkAclEntryName(String networkAclEntryName)
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder policy(String policy)
* **accept** * **drop**
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder port(String port)
* If the **protocol** of the outbound rule is set to **all**, **icmp**, or **gre**, the port range is -1/-1, which specified all ports. * If the **protocol** of the outbound rule is set to **tcp** or **udp**, set the port range in the following format: **1/200** or **80/80**, which specifies port 1 to port 200 or port 80. Valid values for a port: **1** to **65535**.
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry.Builder protocol(String protocol)
* **icmp** * **gre** * **tcp** * **udp** * **all**
public DescribeNetworkAclAttributesResponseBody.EgressAclEntry build()
Copyright © 2024. All rights reserved.