public static final class UpdateNetworkAclEntriesRequest.EgressAclEntries.Builder extends Object
构造器和说明 |
---|
Builder() |
public UpdateNetworkAclEntriesRequest.EgressAclEntries.Builder description(String description)
The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
public UpdateNetworkAclEntriesRequest.EgressAclEntries.Builder destinationCidrIp(String destinationCidrIp)
public UpdateNetworkAclEntriesRequest.EgressAclEntries.Builder entryType(String entryType)
public UpdateNetworkAclEntriesRequest.EgressAclEntries.Builder ipVersion(String ipVersion)
* **IPv4** (default) * **IPv6**
public UpdateNetworkAclEntriesRequest.EgressAclEntries.Builder networkAclEntryId(String networkAclEntryId)
Valid values of **N**: **0** to **99**. You can specify at most 100 outbound rules.
public UpdateNetworkAclEntriesRequest.EgressAclEntries.Builder networkAclEntryName(String networkAclEntryName)
The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
public UpdateNetworkAclEntriesRequest.EgressAclEntries.Builder policy(String policy)
* **accept** * **drop**
public UpdateNetworkAclEntriesRequest.EgressAclEntries.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 UpdateNetworkAclEntriesRequest.EgressAclEntries.Builder protocol(String protocol)
* **icmp** * **gre** * **tcp** * **udp** * **all**
public UpdateNetworkAclEntriesRequest.EgressAclEntries build()
Copyright © 2024. All rights reserved.