public class ModifyPortRequest
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.
|
Long |
proxyEnable |
List<String> |
realServers
An array that consists of the IP addresses of origin servers.
|
| 构造器和说明 |
|---|
ModifyPortRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyPortRequest |
build(Map<String,?> map) |
String |
getBackendPort() |
String |
getFrontendPort() |
String |
getFrontendProtocol() |
String |
getInstanceId() |
Long |
getProxyEnable() |
List<String> |
getRealServers() |
ModifyPortRequest |
setBackendPort(String backendPort) |
ModifyPortRequest |
setFrontendPort(String frontendPort) |
ModifyPortRequest |
setFrontendProtocol(String frontendProtocol) |
ModifyPortRequest |
setInstanceId(String instanceId) |
ModifyPortRequest |
setProxyEnable(Long proxyEnable) |
ModifyPortRequest |
setRealServers(List<String> realServers) |
@NameInMap(value="BackendPort") public String backendPort
The port of the origin server. Valid values: 0 to 65535.
This parameter is required.
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****
@NameInMap(value="ProxyEnable") public Long proxyEnable
public static ModifyPortRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyPortRequest setBackendPort(String backendPort)
public String getBackendPort()
public ModifyPortRequest setFrontendPort(String frontendPort)
public String getFrontendPort()
public ModifyPortRequest setFrontendProtocol(String frontendProtocol)
public String getFrontendProtocol()
public ModifyPortRequest setInstanceId(String instanceId)
public String getInstanceId()
public ModifyPortRequest setProxyEnable(Long proxyEnable)
public Long getProxyEnable()
public ModifyPortRequest setRealServers(List<String> realServers)
Copyright © 2026. All rights reserved.