public static final class DescribeContainerInstancesRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeContainerInstancesRequest |
build() |
DescribeContainerInstancesRequest.Builder |
criteria(String criteria)
The search conditions that are used to filter containers.
|
DescribeContainerInstancesRequest.Builder |
currentPage(Integer currentPage)
The number of the page to return.
|
DescribeContainerInstancesRequest.Builder |
logicalExp(String logicalExp)
The logical operator that you want to use to evaluate multiple search conditions.
|
DescribeContainerInstancesRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
public DescribeContainerInstancesRequest.Builder criteria(String criteria)
The search conditions that are used to filter containers. The value of this parameter is in the JSON format and is case-sensitive. The value contains the following fields:
name: the search condition.
name: the value of the search condition.
logicalExp: the logical relationship among multiple search conditions. Valid values:
example:You can use search conditions such as the container ID, cluster ID, cluster name, cluster type, risk level, and region. You can call the DescribeContainerCriteria operation to query the supported search conditions.
[{"name":"flag","value":"0|8","logicalExp":"AND"},{"name":"ecsType","value":"!8","logicalExp":"AND"}][{"name":"clusterType","value":"NotManagedKubernetes","logicalExp":"AND"}]
public DescribeContainerInstancesRequest.Builder currentPage(Integer currentPage)
The number of the page to return. Default value: 1.
example:1
public DescribeContainerInstancesRequest.Builder logicalExp(String logicalExp)
The logical operator that you want to use to evaluate multiple search conditions. Valid values:
AND
public DescribeContainerInstancesRequest.Builder pageSize(Integer pageSize)
The number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.
example:We recommend that you do not leave this parameter empty.
20
public DescribeContainerInstancesRequest build()
Copyright © 2026. All rights reserved.