public static final class DescribeDDosEventSrcIpRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeDDosEventSrcIpRequest |
build() |
DescribeDDosEventSrcIpRequest.Builder |
eventType(String eventType)
The type of the attack event that you want to query.
|
DescribeDDosEventSrcIpRequest.Builder |
ip(String ip)
The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.
|
DescribeDDosEventSrcIpRequest.Builder |
range(Long range)
The number of source IP addresses that you want to return.
|
DescribeDDosEventSrcIpRequest.Builder |
regionId(String regionId)
RegionId.
|
DescribeDDosEventSrcIpRequest.Builder |
startTime(Long startTime)
The UNIX timestamp when the query starts.
|
public DescribeDDosEventSrcIpRequest.Builder regionId(String regionId)
public DescribeDDosEventSrcIpRequest.Builder eventType(String eventType)
The type of the attack event that you want to query. Valid values:
This parameter is required.
example:defense
public DescribeDDosEventSrcIpRequest.Builder ip(String ip)
The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.
This parameter is required.
example:203...199
public DescribeDDosEventSrcIpRequest.Builder range(Long range)
The number of source IP addresses that you want to return. The source IP addresses are returned in descending order of attack traffic. By default, the top five source IP addresses are returned.
This parameter is required.
example:2
public DescribeDDosEventSrcIpRequest.Builder startTime(Long startTime)
The UNIX timestamp when the query starts. Unit: seconds.
You can call the DescribeDDosAllEventList operation to query the beginning time of all attack events.
This parameter is required.
example:1598948471
public DescribeDDosEventSrcIpRequest build()
Copyright © 2026. All rights reserved.