public static final class DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder description(String description)
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder entryType(String entryType)
- **custom** - **system**
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder ipVersion(String ipVersion)
* **IPv4** * **IPv6**
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder networkAclEntryId(String networkAclEntryId)
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder networkAclEntryName(String networkAclEntryName)
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder policy(String policy)
* **accept** * **drop**
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder port(String port)
* If the **protocol** of the inbound rule is set to **all**, **icmp**, or **gre**, the port range is -1/-1, which specifies all ports. * If the **protocol** of the inbound 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 ports: **1** to **65535**.
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder protocol(String protocol)
* **icmp** * **gre** * **tcp** * **udp** * **all**
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry.Builder sourceCidrIp(String sourceCidrIp)
public DescribeNetworkAclAttributesResponseBody.IngressAclEntry build()
Copyright © 2024. All rights reserved.