public static final class DescribePortResponseBody.NetworkRules.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribePortResponseBody.NetworkRules.Builder |
backendPort(Integer backendPort)
The port of the origin server.
|
DescribePortResponseBody.NetworkRules |
build() |
DescribePortResponseBody.NetworkRules.Builder |
frontendPort(Integer frontendPort)
The forwarding port.
|
DescribePortResponseBody.NetworkRules.Builder |
frontendProtocol(String frontendProtocol)
The type of the protocol.
|
DescribePortResponseBody.NetworkRules.Builder |
instanceId(String instanceId)
The ID of the instance to which the port forwarding rule is applied.
|
DescribePortResponseBody.NetworkRules.Builder |
isAutoCreate(Boolean isAutoCreate)
Indicates whether the port forwarding rule is automatically created by the instance.
|
DescribePortResponseBody.NetworkRules.Builder |
realServers(List<String> realServers)
An array that consists of IP addresses of origin servers.
|
public DescribePortResponseBody.NetworkRules.Builder backendPort(Integer backendPort)
The port of the origin server.
example:55
public DescribePortResponseBody.NetworkRules.Builder frontendPort(Integer frontendPort)
The forwarding port.
example:55
public DescribePortResponseBody.NetworkRules.Builder frontendProtocol(String frontendProtocol)
The type of the protocol. Valid values:
tcp
public DescribePortResponseBody.NetworkRules.Builder instanceId(String instanceId)
The ID of the instance to which the port forwarding rule is applied.
example:ddoscoo-cn-7e225i41****
public DescribePortResponseBody.NetworkRules.Builder isAutoCreate(Boolean isAutoCreate)
Indicates whether the port forwarding rule is automatically created by the instance. Valid values:
false
public DescribePortResponseBody.NetworkRules.Builder realServers(List<String> realServers)
An array that consists of IP addresses of origin servers.
public DescribePortResponseBody.NetworkRules build()
Copyright © 2026. All rights reserved.