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