public static final class CreateNetworkAclResponseBody.IngressAclEntry.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
CreateNetworkAclResponseBody.IngressAclEntry |
build() |
CreateNetworkAclResponseBody.IngressAclEntry.Builder |
description(String description)
The description of the inbound rule.
|
CreateNetworkAclResponseBody.IngressAclEntry.Builder |
networkAclEntryId(String networkAclEntryId)
The ID of the inbound rule.
|
CreateNetworkAclResponseBody.IngressAclEntry.Builder |
networkAclEntryName(String networkAclEntryName)
The name of the inbound rule.
|
CreateNetworkAclResponseBody.IngressAclEntry.Builder |
policy(String policy)
The action to be performed on network traffic that matches the rule.
|
CreateNetworkAclResponseBody.IngressAclEntry.Builder |
port(String port)
The destination port range of the inbound traffic.
|
CreateNetworkAclResponseBody.IngressAclEntry.Builder |
protocol(String protocol)
The protocol.
|
CreateNetworkAclResponseBody.IngressAclEntry.Builder |
sourceCidrIp(String sourceCidrIp)
The source CIDR block.
|
public CreateNetworkAclResponseBody.IngressAclEntry.Builder description(String description)
public CreateNetworkAclResponseBody.IngressAclEntry.Builder networkAclEntryId(String networkAclEntryId)
public CreateNetworkAclResponseBody.IngressAclEntry.Builder networkAclEntryName(String networkAclEntryName)
public CreateNetworkAclResponseBody.IngressAclEntry.Builder policy(String policy)
* **accept** * **drop**
public CreateNetworkAclResponseBody.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 CreateNetworkAclResponseBody.IngressAclEntry.Builder protocol(String protocol)
* **icmp** * **gre** * **tcp** * **udp** * **all**
public CreateNetworkAclResponseBody.IngressAclEntry.Builder sourceCidrIp(String sourceCidrIp)
public CreateNetworkAclResponseBody.IngressAclEntry build()
Copyright © 2024. All rights reserved.