public class DescribeInstancesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeInstancesRequest() | 
| DescribeInstancesRequest(DescribeInstancesRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Filter[] | getFilters()Get Filter. | 
| Long | getLimit()Get Number of returned results. | 
| Long | getOffset()Get Offset. | 
| String | getOrderByField()Get Specified sort by field. | 
| Long | getOrderDirection()Get Sorting order. | 
| void | setFilters(Filter[] Filters)Set Filter. | 
| void | setLimit(Long Limit)Set Number of returned results. | 
| void | setOffset(Long Offset)Set Offset. | 
| void | setOrderByField(String OrderByField)Set Specified sort by field. | 
| void | setOrderDirection(Long OrderDirection)Set Sorting order. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeInstancesRequest()
public DescribeInstancesRequest(DescribeInstancesRequest source)
public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters - Filter.
zone      String      Required: no     (Filter) Filter by AZ abbreviation.
zone-name      String      Required: no     (Filter) Filter by AZ name. Fuzzy match is supported.
module-id      String      Required: no     (Filter) Filter by module ID.
instance-id      String      Required: no      (Filter) Filter by instance ID.
instance-name      String      Required: no      (Filter) Filter by instance name. Fuzzy match is supported.
ip-address      String      Required: no      (Filter) Filter by the instance's private/public IP.
instance-uuid   string Required: no (Filter) Filter instances by `uuid`.
instance-state  string  Required: no (Filter) Update instances by instance status.
internet-service-provider      String      Required: no      (Filter) Filter by the ISP of the instance's public IP.
tag-key      String      Required: no      (Filter) Filter by tag key.
tag:tag-key      String      Required: no      (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key.
instance-family      String      Required: no      (Filter) Filter by model family.
module-name      String      Required: no      (Filter) Filter by module name. Fuzzy match is supported.
image-id      String      Required: no      (Filter) Filter by instance image ID.
vpc-id String      Required: no      (Filter) Filter by instance VPC ID.
subnet-id String      Required: no      (Filter) Filter by instance subnet ID.
If the `Filters` parameter is not specified, the information of all relevant instances will be queried.
Each request can contain up to 5 `Filter.Values`.public Long getOffset()
public void setOffset(Long Offset)
Offset - Offset. Default value: 0.public Long getLimit()
public void setLimit(Long Limit)
Limit - Number of returned results. Default value: 20 (if the number of query results is greater than or equal to 20). Maximum value: 100.public String getOrderByField()
public void setOrderByField(String OrderByField)
OrderByField - Specified sort by field. Currently, valid values are as follows:
timestamp: sort by instance creation time.
Note: you can sort only by creation time currently. More sort criteria may be supported in the future.
If this parameter is not specified, instances will be sorted by creation time by default.public Long getOrderDirection()
public void setOrderDirection(Long OrderDirection)
OrderDirection - Sorting order. 0: descending; 1: ascending. If this parameter is not specified, it will be descending by default.Copyright © 2025. All rights reserved.