public static final class DescribeDDoSEventsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeDDoSEventsRequest |
build() |
DescribeDDoSEventsRequest.Builder |
endTime(Long endTime)
The end of the time range to query.
|
DescribeDDoSEventsRequest.Builder |
instanceIds(List<String> instanceIds)
The ID of the instance.
|
DescribeDDoSEventsRequest.Builder |
pageNumber(Integer pageNumber)
The number of the page to return.
|
DescribeDDoSEventsRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
DescribeDDoSEventsRequest.Builder |
regionId(String regionId)
RegionId.
|
DescribeDDoSEventsRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
DescribeDDoSEventsRequest.Builder |
startTime(Long startTime)
The beginning of the time range to query.
|
public DescribeDDoSEventsRequest.Builder regionId(String regionId)
public DescribeDDoSEventsRequest.Builder endTime(Long endTime)
The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.
example:This UNIX timestamp must indicate a point in time that is accurate to the minute.
1583683200
public DescribeDDoSEventsRequest.Builder instanceIds(List<String> instanceIds)
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-mp91j1ao****
public DescribeDDoSEventsRequest.Builder pageNumber(Integer pageNumber)
The number of the page to return. For example, to query the returned results on the first page, set the value to 1.
This parameter is required.
example:1
public DescribeDDoSEventsRequest.Builder pageSize(Integer pageSize)
The number of entries to return on each page.
This parameter is required.
example:10
public DescribeDDoSEventsRequest.Builder resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
example:default
public DescribeDDoSEventsRequest.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:1582992000
public DescribeDDoSEventsRequest build()
Copyright © 2026. All rights reserved.