public class DescribeDBInstancesRequest extends AbstractModel
Constructor and Description |
---|
DescribeDBInstancesRequest() |
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 to be returned for a single 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.
|
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 to be returned for a single 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 |
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 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 pagepublic Long getInstanceType()
public void setInstanceType(Long InstanceType)
InstanceType
- Instance type. Valid values: 0 (all instances), 1 (promoted), 2 (temp), 3 (read-only), -1 (promoted + read-only + disaster recovery)public Long getClusterType()
public void setClusterType(Long ClusterType)
ClusterType
- Cluster type. Valid values: 0 (replica set instance), 1 (sharding instance), -1 (all instances)public Long[] getStatus()
public void setStatus(Long[] Status)
Status
- Instance status. Valid values: 0 (to be initialized), 1 (in process), 2 (valid), -2 (expired)public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID. This parameter can be left empty for the basic networkpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID of VPC. This parameter can be left empty for the basic network. If it is passed in as an input parameter, the corresponding VpcId must be setpublic 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 to be returned for a single request. Valid values: 1-100. Default value: 20public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: 0public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- Sort by field of the returned result set. Currently, supported values include "ProjectId", "InstanceName", and "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. Currently, "ASC" or "DESC" is supportedpublic 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 IPCopyright © 2020. All rights reserved.