public static final class DescribeDestinationPortEventRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeDestinationPortEventRequest |
build() |
DescribeDestinationPortEventRequest.Builder |
eventType(String eventType)
The type of the attack event that you want to query.
|
DescribeDestinationPortEventRequest.Builder |
ip(String ip)
The IP address of the attacker.
|
DescribeDestinationPortEventRequest.Builder |
range(Long range)
The number of destination ports to return.
|
DescribeDestinationPortEventRequest.Builder |
region(String region)
The region in which your service is deployed.
|
DescribeDestinationPortEventRequest.Builder |
startTime(Long startTime)
The beginning of the time range to query.
|
public DescribeDestinationPortEventRequest.Builder eventType(String eventType)
The type of the attack event that you want to query. Valid values:
This parameter is required.
example:defense
public DescribeDestinationPortEventRequest.Builder ip(String ip)
The IP address of the attacker.
This parameter is required.
example:203.107.XX.XX
public DescribeDestinationPortEventRequest.Builder range(Long range)
The number of destination ports to return. The ports are sorted in descending order of the number of received request packets. By default, the first 10 ports are returned.
This parameter is required.
example:2
public DescribeDestinationPortEventRequest.Builder region(String region)
The region in which your service is deployed. Valid values:
This parameter is required.
example:cn
public DescribeDestinationPortEventRequest.Builder startTime(Long startTime)
The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.
This UNIX timestamp must indicate a point in time that is accurate to the minute.
This parameter is required.
example:1720059000
public DescribeDestinationPortEventRequest build()
Copyright © 2026. All rights reserved.