public class DescribeHostsRequest extends AbstractModel
| Constructor and Description | 
|---|
| DescribeHostsRequest() | 
| DescribeHostsRequest(DescribeHostsRequest 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 zone
 Filter by the availability zone, such as `ap-guangzhou-1`. | 
| Long | getLimit()Get Number of results returned; default value: 20; maximum: 100. | 
| Long | getOffset()Get Offset; default value: 0. | 
| void | setFilters(Filter[] Filters)Set zone
 Filter by the availability zone, such as `ap-guangzhou-1`. | 
| void | setLimit(Long Limit)Set Number of results returned; default value: 20; maximum: 100. | 
| void | setOffset(Long Offset)Set Offset; default value: 0. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic DescribeHostsRequest()
public DescribeHostsRequest(DescribeHostsRequest source)
public Filter[] getFilters()
Filter by the availability zone, such as `ap-guangzhou-1`.
Type: String
Optional
Valid values: See Regions and Availability Zones
Filter by the project ID. You can query the list of created projects by calling `DescribeProject` or logging in to the [CVM console](https://console.cloud.tencent.com/cvm/index). You can also call `AddProject` to create projects. The project ID is like 1002189.
Type: Integer
Optional
Filter by the CDH instance ID. Format: host-xxxxxxxx.
Type: String
Optional
Filter by the host name.
Type: String
Optional
Filter by the CDH instance status. (`PENDING`: Creating | `LAUNCH_FAILURE`: Failed to create | `RUNNING`: Running | `EXPIRED`: Expired)
Type: String
Optional
Each request can have up to 10 `Filters` and 5 `Filter.Values`.Filter by the availability zone, such as `ap-guangzhou-1`.
Type: String
Optional
Valid values: See Regions and Availability Zones
Filter by the project ID. You can query the list of created projects by calling `DescribeProject` or logging in to the [CVM console](https://console.cloud.tencent.com/cvm/index). You can also call `AddProject` to create projects. The project ID is like 1002189.
Type: Integer
Optional
Filter by the CDH instance ID. Format: host-xxxxxxxx.
Type: String
Optional
Filter by the host name.
Type: String
Optional
Filter by the CDH instance status. (`PENDING`: Creating | `LAUNCH_FAILURE`: Failed to create | `RUNNING`: Running | `EXPIRED`: Expired)
Type: String
Optional
Each request can have up to 10 `Filters` and 5 `Filter.Values`.public void setFilters(Filter[] Filters)
Filter by the availability zone, such as `ap-guangzhou-1`.
Type: String
Optional
Valid values: See Regions and Availability Zones
Filter by the project ID. You can query the list of created projects by calling `DescribeProject` or logging in to the [CVM console](https://console.cloud.tencent.com/cvm/index). You can also call `AddProject` to create projects. The project ID is like 1002189.
Type: Integer
Optional
Filter by the CDH instance ID. Format: host-xxxxxxxx.
Type: String
Optional
Filter by the host name.
Type: String
Optional
Filter by the CDH instance status. (`PENDING`: Creating | `LAUNCH_FAILURE`: Failed to create | `RUNNING`: Running | `EXPIRED`: Expired)
Type: String
Optional
Each request can have up to 10 `Filters` and 5 `Filter.Values`.Filters - Filter by the availability zone, such as `ap-guangzhou-1`.
Type: String
Optional
Valid values: See Regions and Availability Zones
Filter by the project ID. You can query the list of created projects by calling `DescribeProject` or logging in to the [CVM console](https://console.cloud.tencent.com/cvm/index). You can also call `AddProject` to create projects. The project ID is like 1002189.
Type: Integer
Optional
Filter by the CDH instance ID. Format: host-xxxxxxxx.
Type: String
Optional
Filter by the host name.
Type: String
Optional
Filter by the CDH instance status. (`PENDING`: Creating | `LAUNCH_FAILURE`: Failed to create | `RUNNING`: Running | `EXPIRED`: Expired)
Type: String
Optional
Each request can have up to 10 `Filters` and 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 results returned; default value: 20; maximum: 100.Copyright © 2022. All rights reserved.