public static final class DescribePortConnsCountRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribePortConnsCountRequest |
build() |
DescribePortConnsCountRequest.Builder |
endTime(Long endTime)
The end of the time range to query.
|
DescribePortConnsCountRequest.Builder |
instanceIds(List<String> instanceIds)
An array that consists of the IDs of instances.
|
DescribePortConnsCountRequest.Builder |
port(String port)
The number of port that you want to query.
|
DescribePortConnsCountRequest.Builder |
regionId(String regionId)
RegionId.
|
DescribePortConnsCountRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
DescribePortConnsCountRequest.Builder |
startTime(Long startTime)
The beginning of the time range to query.
|
public DescribePortConnsCountRequest.Builder regionId(String regionId)
public DescribePortConnsCountRequest.Builder endTime(Long endTime)
The end 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:1583683200
public DescribePortConnsCountRequest.Builder instanceIds(List<String> instanceIds)
An array that consists of the IDs of instances.
You can call the DescribeInstanceIds operation to query the IDs of all instances.
This parameter is required.
example:ddoscoo-cn-mp91j1ao****
public DescribePortConnsCountRequest.Builder port(String port)
The number of port that you want to query. If you do not specify this parameter, all ports are queried.
example:80
public DescribePortConnsCountRequest.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 DescribePortConnsCountRequest.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 DescribePortConnsCountRequest build()
Copyright © 2026. All rights reserved.