public static final class ConfigNetworkRulesRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigNetworkRulesRequest |
build() |
ConfigNetworkRulesRequest.Builder |
networkRules(String networkRules)
The details of the port forwarding rule.
|
ConfigNetworkRulesRequest.Builder |
regionId(String regionId)
RegionId.
|
public ConfigNetworkRulesRequest.Builder regionId(String regionId)
public ConfigNetworkRulesRequest.Builder networkRules(String networkRules)
The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:
You can modify only the value of RealServers when you modify a port forwarding rule.
This parameter is required.
example:[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2","3.3.3.3"]}]
public ConfigNetworkRulesRequest build()
Copyright © 2026. All rights reserved.