public class DescribeHostsRequest extends AbstractModel
Constructor and Description |
---|
DescribeHostsRequest() |
Modifier and Type | Method and Description |
---|---|
Filter[] |
getFilters()
Get 过滤条件。
zone - String - 是否必填:否 - (过滤条件)按照可用区过滤。
project-id - Integer - 是否必填:否 - (过滤条件)按照项目ID过滤。可通过调用 DescribeProject 查询已创建的项目列表或登录控制台进行查看;也可以调用 AddProject 创建新的项目。
host-id - String - 是否必填:否 - (过滤条件)按照CDH ID过滤。CDH ID形如:host-11112222。
host-name - String - 是否必填:否 - (过滤条件)按照CDH实例名称过滤。
host-state - String - 是否必填:否 - (过滤条件)按照CDH实例状态进行过滤。(PENDING:创建中|LAUNCH_FAILURE:创建失败|RUNNING:运行中|EXPIRED:已过期)
|
Long |
getLimit()
Get 返回数量,默认为20,最大值为100。
|
Long |
getOffset()
Get 偏移量,默认为0。
|
void |
setFilters(Filter[] Filters)
Set 过滤条件。
zone - String - 是否必填:否 - (过滤条件)按照可用区过滤。
project-id - Integer - 是否必填:否 - (过滤条件)按照项目ID过滤。可通过调用 DescribeProject 查询已创建的项目列表或登录控制台进行查看;也可以调用 AddProject 创建新的项目。
host-id - String - 是否必填:否 - (过滤条件)按照CDH ID过滤。CDH ID形如:host-11112222。
host-name - String - 是否必填:否 - (过滤条件)按照CDH实例名称过滤。
host-state - String - 是否必填:否 - (过滤条件)按照CDH实例状态进行过滤。(PENDING:创建中|LAUNCH_FAILURE:创建失败|RUNNING:运行中|EXPIRED:已过期)
|
void |
setLimit(Long Limit)
Set 返回数量,默认为20,最大值为100。
|
void |
setOffset(Long Offset)
Set 偏移量,默认为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, toJsonString
public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- 过滤条件。
public Long getOffset()
public void setOffset(Long Offset)
Offset
- 偏移量,默认为0。public Long getLimit()
public void setLimit(Long Limit)
Limit
- 返回数量,默认为20,最大值为100。Copyright © 2020. All rights reserved.