public class DescribeDBInstancesRequest extends AbstractModel
Constructor and Description |
---|
DescribeDBInstancesRequest() |
DescribeDBInstancesRequest(DescribeDBInstancesRequest 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 |
getClusterType()
Get Cluster type.
|
String[] |
getInstanceIds()
Get List of instance IDs in the format of cmgo-p8vnipr5.
|
Long |
getInstanceType()
Get Instance type.
|
Long |
getLimit()
Get Number of results returned per request.
|
Long |
getOffset()
Get Offset.
|
String |
getOrderBy()
Get Sort by field of the returned result set.
|
String |
getOrderByType()
Get Sorting method of the return result set.
|
Long |
getPayMode()
Get Billing type.
|
Long[] |
getProjectIds()
Get Project ID
|
String |
getSearchKey()
Get Search keyword, which can be instance ID, instance name, or complete IP.
|
Long[] |
getStatus()
Get Instance status.
|
String |
getSubnetId()
Get Subnet ID of VPC.
|
TagInfo[] |
getTags()
Get Tag information
|
String |
getVpcId()
Get VPC ID.
|
void |
setClusterType(Long ClusterType)
Set Cluster type.
|
void |
setInstanceIds(String[] InstanceIds)
Set List of instance IDs in the format of cmgo-p8vnipr5.
|
void |
setInstanceType(Long InstanceType)
Set Instance type.
|
void |
setLimit(Long Limit)
Set Number of results returned per request.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setOrderBy(String OrderBy)
Set Sort by field of the returned result set.
|
void |
setOrderByType(String OrderByType)
Set Sorting method of the return result set.
|
void |
setPayMode(Long PayMode)
Set Billing type.
|
void |
setProjectIds(Long[] ProjectIds)
Set Project ID
|
void |
setSearchKey(String SearchKey)
Set Search keyword, which can be instance ID, instance name, or complete IP.
|
void |
setStatus(Long[] Status)
Set Instance status.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID of VPC.
|
void |
setTags(TagInfo[] Tags)
Set Tag information
|
void |
setVpcId(String VpcId)
Set VPC ID.
|
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 DescribeDBInstancesRequest()
public DescribeDBInstancesRequest(DescribeDBInstancesRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- List of instance IDs in the format of cmgo-p8vnipr5. It is the same as the instance ID displayed on the TencentDB console page.public Long getInstanceType()
public void setInstanceType(Long InstanceType)
InstanceType
- Instance type. Valid values: public Long getClusterType()
public void setClusterType(Long ClusterType)
ClusterType
- Cluster type. Valid values: public Long[] getStatus()
public void setStatus(Long[] Status)
Status
- Instance status. Valid values: public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID. This parameter can be left empty for the classic network.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID of VPC. This parameter can be left empty for the classic network. If it is passed in as an input parameter, the corresponding VpcId must be set.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Billing type. Valid value: 0 (pay-as-you-go)public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of results returned per request. Default value: `20`. Value range: [1,100].public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: `0`.public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- Sort by field of the returned result set. Valid values: `ProjectId`, `InstanceName`, `CreateTime`. The return results are sorted in ascending order by default.public String getOrderByType()
public void setOrderByType(String OrderByType)
OrderByType
- Sorting method of the return result set. Valid values: `ASC`, `DESC`.public Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds
- Project IDpublic String getSearchKey()
public void setSearchKey(String SearchKey)
SearchKey
- Search keyword, which can be instance ID, instance name, or complete IP.public TagInfo[] getTags()
public void setTags(TagInfo[] Tags)
Tags
- Tag informationCopyright © 2023. All rights reserved.