public class DescribeInstancesRequest extends AbstractModel
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 |
---|---|
Long |
getAsc()
Get Sorts according to `OrderField` in ascending or descending order.
|
String |
getDisplayStrategy()
Get Cluster filtering policy.
|
String[] |
getInstanceIds()
Get Queries by one or more instance IDs in the format of `emr-xxxxxxxx`.
|
Long |
getLimit()
Get Number of returned results per page.
|
Long |
getOffset()
Get Page number.
|
String |
getOrderField()
Get Sorting field.
|
Long |
getProjectId()
Get ID of the project to which the instance belongs.
|
void |
setAsc(Long Asc)
Set Sorts according to `OrderField` in ascending or descending order.
|
void |
setDisplayStrategy(String DisplayStrategy)
Set Cluster filtering policy.
|
void |
setInstanceIds(String[] InstanceIds)
Set Queries by one or more instance IDs in the format of `emr-xxxxxxxx`.
|
void |
setLimit(Long Limit)
Set Number of returned results per page.
|
void |
setOffset(Long Offset)
Set Page number.
|
void |
setOrderField(String OrderField)
Set Sorting field.
|
void |
setProjectId(Long ProjectId)
Set ID of the project to which the instance belongs.
|
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 DescribeInstancesRequest()
public DescribeInstancesRequest(DescribeInstancesRequest source)
public String getDisplayStrategy()
public void setDisplayStrategy(String DisplayStrategy)
DisplayStrategy
- Cluster filtering policy. Valid values:
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Queries by one or more instance IDs in the format of `emr-xxxxxxxx`. For the format of this parameter, please see the `id.N` section in [API Overview](https://intl.cloud.tencent.com/document/api/213/15688). If no instance ID is entered, the list of all instances under this `APPID` will be returned.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Page number. Default value: 0, indicating the first page.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returned results per page. Default value: 10. Maximum value: 100public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- ID of the project to which the instance belongs. This parameter can be obtained from the `projectId` field in the return value of the `DescribeProject` API. If this value is -1, the list of all instances will be returned.public String getOrderField()
public void setOrderField(String OrderField)
OrderField
- Sorting field. Valid values:
public Long getAsc()
public void setAsc(Long Asc)
Asc
- Sorts according to `OrderField` in ascending or descending order. Valid values:
Copyright © 2023. All rights reserved.