public static final class DescribeInstancesRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeInstancesRequest |
build() |
DescribeInstancesRequest.Builder |
edition(Integer edition)
The mitigation plan of the instance to query.
|
DescribeInstancesRequest.Builder |
enabled(Integer enabled)
The traffic forwarding status of the instance to query.
|
DescribeInstancesRequest.Builder |
expireEndTime(Long expireEndTime)
The end of the time range to query.
|
DescribeInstancesRequest.Builder |
expireStartTime(Long expireStartTime)
The beginning of the time range to query.
|
DescribeInstancesRequest.Builder |
instanceIds(List<String> instanceIds)
The IDs of the instances to query.
|
DescribeInstancesRequest.Builder |
ip(String ip)
The IP address of the instance to query.
|
DescribeInstancesRequest.Builder |
pageNumber(String pageNumber)
The number of the page to return.
|
DescribeInstancesRequest.Builder |
pageSize(String pageSize)
The number of entries to return on each page.
|
DescribeInstancesRequest.Builder |
regionId(String regionId)
RegionId.
|
DescribeInstancesRequest.Builder |
remark(String remark)
The remarks of the instance to query.
|
DescribeInstancesRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
DescribeInstancesRequest.Builder |
status(List<Integer> status)
The states of the instances to query.
|
DescribeInstancesRequest.Builder |
tag(List<DescribeInstancesRequest.Tag> tag)
The tags that are added to the instances to query.
|
public DescribeInstancesRequest.Builder regionId(String regionId)
public DescribeInstancesRequest.Builder edition(Integer edition)
The mitigation plan of the instance to query. Valid values:
9
public DescribeInstancesRequest.Builder enabled(Integer enabled)
The traffic forwarding status of the instance to query. Valid values:
1
public DescribeInstancesRequest.Builder expireEndTime(Long expireEndTime)
The end of the time range to query. Instances whose expiration time is earlier than the point in time are queried. This value is a UNIX timestamp. Unit: milliseconds.
example:1640361700000
public DescribeInstancesRequest.Builder expireStartTime(Long expireStartTime)
The beginning of the time range to query. Instances whose expiration time is later than the point in time are queried. This value is a UNIX timestamp. Unit: milliseconds.
example:1640361500000
public DescribeInstancesRequest.Builder instanceIds(List<String> instanceIds)
The IDs of the instances to query. You can specify up to 200 instance IDs.
public DescribeInstancesRequest.Builder ip(String ip)
The IP address of the instance to query.
example:203.107.XX.XX
public DescribeInstancesRequest.Builder pageNumber(String pageNumber)
The number of the page to return.
This parameter is required.
example:1
public DescribeInstancesRequest.Builder pageSize(String pageSize)
The number of entries to return on each page.
This parameter is required.
example:10
public DescribeInstancesRequest.Builder remark(String remark)
The remarks of the instance to query. Fuzzy match is supported.
example:doc-test
public DescribeInstancesRequest.Builder resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
If you do not specify this parameter, the instance belongs to the default resource group.
example:rg-acfm2pz25js****
public DescribeInstancesRequest.Builder status(List<Integer> status)
The states of the instances to query. You can specify up to two states.
public DescribeInstancesRequest.Builder tag(List<DescribeInstancesRequest.Tag> tag)
The tags that are added to the instances to query.
public DescribeInstancesRequest build()
Copyright © 2026. All rights reserved.