public static final class ConfigUdpReflectRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigUdpReflectRequest |
build() |
ConfigUdpReflectRequest.Builder |
config(String config)
The configuration of the filtering policy for UDP reflection attacks.
|
ConfigUdpReflectRequest.Builder |
instanceId(String instanceId)
The ID of the instance.
|
ConfigUdpReflectRequest.Builder |
regionId(String regionId)
The region ID of the Anti-DDoS Proxy instance.
|
public ConfigUdpReflectRequest.Builder config(String config)
The configuration of the filtering policy for UDP reflection attacks.
The value is a string that consists of a JSON struct. The JSON struct contains the following field:
UdpSports: the source ports of the UDP traffic that you want to block. This field is required and must be of the ARRAY type. Example: [17,19].
We recommend that you block the following source ports of UDP traffic:
This parameter is required.
example:{"UdpSports":[17,19]}
public ConfigUdpReflectRequest.Builder instanceId(String instanceId)
The ID of the instance.
You can call the DescribeInstanceIds operation to query the IDs of all instances.
This parameter is required.
example:ddoscoo-cn-i7m25564****
public ConfigUdpReflectRequest.Builder regionId(String regionId)
The region ID of the Anti-DDoS Proxy instance. Valid values:
cn-hangzhou
public ConfigUdpReflectRequest build()
Copyright © 2026. All rights reserved.