public static final class DescribeNetworkAclsResponseBody.EgressAclEntries.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeNetworkAclsResponseBody.EgressAclEntries.Builder cidrBlock(String cidrBlock)
public DescribeNetworkAclsResponseBody.EgressAclEntries.Builder description(String description)
public DescribeNetworkAclsResponseBody.EgressAclEntries.Builder networkAclEntryId(String networkAclEntryId)
public DescribeNetworkAclsResponseBody.EgressAclEntries.Builder networkAclEntryName(String networkAclEntryName)
public DescribeNetworkAclsResponseBody.EgressAclEntries.Builder policy(String policy)
* **accept**: allows the network traffic. * **drop**: blocks the network traffic.
public DescribeNetworkAclsResponseBody.EgressAclEntries.Builder portRange(String portRange)
* If **Protocol** of the outbound rule is set to **all** or **icmp** the port range is **-1/-1**, which indicates all ports. * If **Protocol** of the outbound rule is set to **tcp** or **udp**, the port range is in the following format: **1/200** or **80/80**. 1/200 indicates port 1 to port 200. 80/80 indicates port 80. Valid values for a port: **1 to 65535**.
public DescribeNetworkAclsResponseBody.EgressAclEntries.Builder priority(Integer priority)
public DescribeNetworkAclsResponseBody.EgressAclEntries.Builder protocol(String protocol)
* **icmp**: ICMP. * **tcp**: TCP. * **udp**: UDP. * **all**: all protocols.
public DescribeNetworkAclsResponseBody.EgressAclEntries.Builder type(String type)
* **system**: The rule is created by the system. * **custom**: The rule is created by a user.
public DescribeNetworkAclsResponseBody.EgressAclEntries build()
Copyright © 2024. All rights reserved.