public static final class CreatePortRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreatePortRequest.Builder |
backendPort(String backendPort)
The port of the origin server.
|
CreatePortRequest |
build() |
CreatePortRequest.Builder |
frontendPort(String frontendPort)
The forwarding port.
|
CreatePortRequest.Builder |
frontendProtocol(String frontendProtocol)
The type of the protocol.
|
CreatePortRequest.Builder |
instanceId(String instanceId)
The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
|
CreatePortRequest.Builder |
realServers(List<String> realServers)
An array that consists of the IP addresses of origin servers.
|
CreatePortRequest.Builder |
regionId(String regionId)
RegionId.
|
public CreatePortRequest.Builder regionId(String regionId)
public CreatePortRequest.Builder backendPort(String backendPort)
public CreatePortRequest.Builder frontendPort(String frontendPort)
public CreatePortRequest.Builder frontendProtocol(String frontendProtocol)
* **tcp** * **udp**
public CreatePortRequest.Builder instanceId(String instanceId)
> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.
public CreatePortRequest.Builder realServers(List<String> realServers)
public CreatePortRequest build()
Copyright © 2023. All rights reserved.