public static final class DescribeCloudCenterInstancesRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeCloudCenterInstancesRequest |
build() |
DescribeCloudCenterInstancesRequest.Builder |
criteria(String criteria)
The search conditions.
|
DescribeCloudCenterInstancesRequest.Builder |
currentPage(Integer currentPage)
The number of the page to return.
|
DescribeCloudCenterInstancesRequest.Builder |
flags(String flags)
Asset vendor.
|
DescribeCloudCenterInstancesRequest.Builder |
importance(Integer importance)
The importance of the asset.
|
DescribeCloudCenterInstancesRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
DescribeCloudCenterInstancesRequest.Builder |
logicalExp(String logicalExp)
The logical relationship among multiple search conditions.
|
DescribeCloudCenterInstancesRequest.Builder |
machineTypes(String machineTypes)
The type of asset to be queried.
|
DescribeCloudCenterInstancesRequest.Builder |
nextToken(String nextToken)
The value of NextToken that is returned when the NextToken method is used.
|
DescribeCloudCenterInstancesRequest.Builder |
noGroupTrace(Boolean noGroupTrace)
Specifies whether to internationalize the name of the default group.
|
DescribeCloudCenterInstancesRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
DescribeCloudCenterInstancesRequest.Builder |
regionId(String regionId)
The ID of the region in which the asset resides.
|
DescribeCloudCenterInstancesRequest.Builder |
resourceDirectoryAccountId(Long resourceDirectoryAccountId)
The Alibaba Cloud account ID of the member in the resource directory.
|
DescribeCloudCenterInstancesRequest.Builder |
useNextToken(Boolean useNextToken)
Specifies whether to use the NextToken method to retrieve a new page of results.
|
public DescribeCloudCenterInstancesRequest.Builder criteria(String criteria)
The search conditions. The value of this parameter is in the JSON format and is case-sensitive.
example:You can search for an asset by using the search conditions, such as the instance ID, instance name, VPC ID, region, or public IP address. You can call the DescribeCriteria operation to query the supported search conditions.
[{"name":"riskStatus","value":"YES"},{"name":"internetIp","value":"1.2.XX.XX"}]
public DescribeCloudCenterInstancesRequest.Builder currentPage(Integer currentPage)
The number of the page to return. Default value: 1.
example:1
public DescribeCloudCenterInstancesRequest.Builder flags(String flags)
Asset vendor. Multiple asset vendors should be separated by a comma (,). Values:
1,2,3
public DescribeCloudCenterInstancesRequest.Builder importance(Integer importance)
The importance of the asset. Valid values:
2
public DescribeCloudCenterInstancesRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public DescribeCloudCenterInstancesRequest.Builder logicalExp(String logicalExp)
The logical relationship among multiple search conditions. Valid values:
OR
public DescribeCloudCenterInstancesRequest.Builder machineTypes(String machineTypes)
The type of asset to be queried. Values:
ecs
public DescribeCloudCenterInstancesRequest.Builder nextToken(String nextToken)
The value of NextToken that is returned when the NextToken method is used. You do not need to specify this parameter for the first request.
example:E17B501887A2D3AA5E8360A6EFA3B***
public DescribeCloudCenterInstancesRequest.Builder noGroupTrace(Boolean noGroupTrace)
Specifies whether to internationalize the name of the default group. Valid values:
false
public DescribeCloudCenterInstancesRequest.Builder pageSize(Integer pageSize)
The number of entries to return on each page. Default value: 20.
example:100
public DescribeCloudCenterInstancesRequest.Builder regionId(String regionId)
The ID of the region in which the asset resides.
example:cn-hangzhou
public DescribeCloudCenterInstancesRequest.Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId)
The Alibaba Cloud account ID of the member in the resource directory.
example:You can call the DescribeMonitorAccounts operation to obtain the IDs.
1232428423234****
public DescribeCloudCenterInstancesRequest.Builder useNextToken(Boolean useNextToken)
Specifies whether to use the NextToken method to retrieve a new page of results. If you set UseNextToken to true, the value of TotalCount is not returned. Valid values:
false
public DescribeCloudCenterInstancesRequest build()
Copyright © 2026. All rights reserved.