public class DeletePortRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
backendPort
The port of the origin server.
|
String |
frontendPort
The forwarding port.
|
String |
frontendProtocol
The type of the forwarding protocol.
|
String |
instanceId
The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
|
List<String> |
realServers
An array that consists of the IP addresses of origin servers.
|
| 构造器和说明 |
|---|
DeletePortRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DeletePortRequest |
build(Map<String,?> map) |
String |
getBackendPort() |
String |
getFrontendPort() |
String |
getFrontendProtocol() |
String |
getInstanceId() |
List<String> |
getRealServers() |
DeletePortRequest |
setBackendPort(String backendPort) |
DeletePortRequest |
setFrontendPort(String frontendPort) |
DeletePortRequest |
setFrontendProtocol(String frontendProtocol) |
DeletePortRequest |
setInstanceId(String instanceId) |
DeletePortRequest |
setRealServers(List<String> realServers) |
@NameInMap(value="BackendPort") public String backendPort
The port of the origin server. Valid values: 0 to 65535.
example:55
@NameInMap(value="FrontendPort") public String frontendPort
The forwarding port. Valid values: 0 to 65535.
This parameter is required.
example:55
@NameInMap(value="FrontendProtocol") public String frontendProtocol
The type of the forwarding protocol. Valid values:
This parameter is required.
example:tcp
@NameInMap(value="InstanceId") public String instanceId
The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
You can call the DescribeInstanceIds operation to query the IDs of all instances.
This parameter is required.
example:ddoscoo-cn-st21zbyq****
public static DeletePortRequest build(Map<String,?> map) throws Exception
Exceptionpublic DeletePortRequest setBackendPort(String backendPort)
public String getBackendPort()
public DeletePortRequest setFrontendPort(String frontendPort)
public String getFrontendPort()
public DeletePortRequest setFrontendProtocol(String frontendProtocol)
public String getFrontendProtocol()
public DeletePortRequest setInstanceId(String instanceId)
public String getInstanceId()
public DeletePortRequest setRealServers(List<String> realServers)
Copyright © 2026. All rights reserved.