public class DescribeDBInstancesRequest extends AbstractModel
| Constructor and Description | 
|---|
| DescribeDBInstancesRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| Long[] | getCdbErrors()Get Lock flag. | 
| String[] | getDeployGroupIds()Get Placement group ID list. | 
| String[] | getEngineVersions()Get Version of the instance database engine. | 
| String | getExClusterId()Get Exclusive cluster ID. | 
| Long | getInitFlag()Get Initialization flag. | 
| String[] | getInstanceIds()Get Instance ID. | 
| String[] | getInstanceNames()Get Instance name. | 
| Long[] | getInstanceTypes()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 | getOrderDirection()Get Sorting method of the returned result set. | 
| Long[] | getPayTypes()Get Billing method. | 
| Long | getProjectId()Get Project ID. | 
| String | getSecurityGroupId()Get Security group ID. | 
| Long[] | getStatus()Get Instance status. | 
| Long[] | getSubnetIds()Get Subnet ID. | 
| Long[] | getTaskStatus()Get Instance task status. | 
| String[] | getVips()Get Private IP address of the instance. | 
| Long[] | getVpcIds()Get VPC ID. | 
| Long | getWithDr()Get Whether instances corresponding to the disaster recovery relationship are included. | 
| Long | getWithExCluster()Get Whether dedicated cluster details are included. | 
| Long | getWithMaster()Get Whether primary instances are included. | 
| Long | getWithRo()Get Whether read-only instances are included. | 
| Long | getWithSecurityGroup()Get Whether security group ID is used as a filter | 
| Long[] | getZoneIds()Get AZ ID. | 
| void | setCdbErrors(Long[] CdbErrors)Set Lock flag. | 
| void | setDeployGroupIds(String[] DeployGroupIds)Set Placement group ID list. | 
| void | setEngineVersions(String[] EngineVersions)Set Version of the instance database engine. | 
| void | setExClusterId(String ExClusterId)Set Exclusive cluster ID. | 
| void | setInitFlag(Long InitFlag)Set Initialization flag. | 
| void | setInstanceIds(String[] InstanceIds)Set Instance ID. | 
| void | setInstanceNames(String[] InstanceNames)Set Instance name. | 
| void | setInstanceTypes(Long[] InstanceTypes)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 | setOrderDirection(String OrderDirection)Set Sorting method of the returned result set. | 
| void | setPayTypes(Long[] PayTypes)Set Billing method. | 
| void | setProjectId(Long ProjectId)Set Project ID. | 
| void | setSecurityGroupId(String SecurityGroupId)Set Security group ID. | 
| void | setStatus(Long[] Status)Set Instance status. | 
| void | setSubnetIds(Long[] SubnetIds)Set Subnet ID. | 
| void | setTaskStatus(Long[] TaskStatus)Set Instance task status. | 
| void | setVips(String[] Vips)Set Private IP address of the instance. | 
| void | setVpcIds(Long[] VpcIds)Set VPC ID. | 
| void | setWithDr(Long WithDr)Set Whether instances corresponding to the disaster recovery relationship are included. | 
| void | setWithExCluster(Long WithExCluster)Set Whether dedicated cluster details are included. | 
| void | setWithMaster(Long WithMaster)Set Whether primary instances are included. | 
| void | setWithRo(Long WithRo)Set Whether read-only instances are included. | 
| void | setWithSecurityGroup(Long WithSecurityGroup)Set Whether security group ID is used as a filter | 
| void | setZoneIds(Long[] ZoneIds)Set AZ 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, toJsonStringpublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId - Project ID. You can use the [project list querying API](https://intl.cloud.tencent.com/document/product/378/4400?from_cn_redirect=1) to query the project ID.public Long[] getInstanceTypes()
public void setInstanceTypes(Long[] InstanceTypes)
InstanceTypes - Instance type. Value range: 1 (primary), 2 (disaster recovery), 3 (read-only).public String[] getVips()
public void setVips(String[] Vips)
Vips - Private IP address of the instance.public Long[] getStatus()
public void setStatus(Long[] Status)
Status - Instance status. Value range: 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 to be returned for a single request. Default value: 20. Maximum value: 2,000.public String getSecurityGroupId()
public void setSecurityGroupId(String SecurityGroupId)
SecurityGroupId - Security group ID. When it is used as a filter, the `WithSecurityGroup` parameter should be set to 1.public Long[] getPayTypes()
public void setPayTypes(Long[] PayTypes)
PayTypes - Billing method. Value range: 0 (monthly subscribed), 1 (hourly).public String[] getInstanceNames()
public void setInstanceNames(String[] InstanceNames)
InstanceNames - Instance name.public Long[] getTaskStatus()
public void setTaskStatus(Long[] TaskStatus)
TaskStatus - Instance task status. Valid values: public String[] getEngineVersions()
public void setEngineVersions(String[] EngineVersions)
EngineVersions - Version of the instance database engine. Value range: 5.1, 5.5, 5.6, 5.7.public Long[] getVpcIds()
public void setVpcIds(Long[] VpcIds)
VpcIds - VPC ID.public Long[] getZoneIds()
public void setZoneIds(Long[] ZoneIds)
ZoneIds - AZ ID.public Long[] getSubnetIds()
public void setSubnetIds(Long[] SubnetIds)
SubnetIds - Subnet ID.public Long[] getCdbErrors()
public void setCdbErrors(Long[] CdbErrors)
CdbErrors - Lock flag.public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy - Sort by field of the returned result set. Currently, supported values include "InstanceId", "InstanceName", "CreateTime", and "DeadlineTime".public String getOrderDirection()
public void setOrderDirection(String OrderDirection)
OrderDirection - Sorting method of the returned result set. Currently, "ASC" or "DESC" is supported.public Long getWithSecurityGroup()
public void setWithSecurityGroup(Long WithSecurityGroup)
WithSecurityGroup - Whether security group ID is used as a filterpublic Long getWithExCluster()
public void setWithExCluster(Long WithExCluster)
WithExCluster - Whether dedicated cluster details are included. Value range: 0 (not included), 1 (included)public String getExClusterId()
public void setExClusterId(String ExClusterId)
ExClusterId - Exclusive cluster ID.public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds - Instance ID.public Long getInitFlag()
public void setInitFlag(Long InitFlag)
InitFlag - Initialization flag. Value range: 0 (not initialized), 1 (initialized).public Long getWithDr()
public void setWithDr(Long WithDr)
WithDr - Whether instances corresponding to the disaster recovery relationship are included. Valid values: 0 (not included), 1 (included). Default value: 1. If a primary instance is pulled, the data of the disaster recovery relationship will be in the `DrInfo` field. If a disaster recovery instance is pulled, the data of the disaster recovery relationship will be in the `MasterInfo` field. The disaster recovery relationship contains only partial basic data. To get the detailed data, you need to call an API to pull it.public Long getWithRo()
public void setWithRo(Long WithRo)
WithRo - Whether read-only instances are included. Valid values: 0 (not included), 1 (included). Default value: 1.public Long getWithMaster()
public void setWithMaster(Long WithMaster)
WithMaster - Whether primary instances are included. Valid values: 0 (not included), 1 (included). Default value: 1.public String[] getDeployGroupIds()
public void setDeployGroupIds(String[] DeployGroupIds)
DeployGroupIds - Placement group ID list.Copyright © 2020. All rights reserved.