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 |
---|---|
String[] |
getCageIds()
Get Financial cage IDs.
|
Long[] |
getCdbErrors()
Get Whether to lock disk write.
|
String[] |
getDeployGroupIds()
Get Placement group ID list.
|
String[] |
getEngineTypes()
Get Database engine type
|
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[] |
getProxyIds()
Get Database proxy ID
|
String[] |
getProxyVips()
Get Database proxy IP
|
String |
getSecurityGroupId()
Get Security group ID.
|
Long[] |
getStatus()
Get Instance status.
|
Long[] |
getSubnetIds()
Get Subnet ID.
|
String[] |
getTagKeysForSearch()
Get Whether to use the tag key as a filter condition
|
Tag[] |
getTags()
Get Tag key value
|
String[] |
getTagValues()
Get Tag value
|
Long[] |
getTaskStatus()
Get Instance task status.
|
String[] |
getUniqSubnetIds()
Get VPC character subnetId
|
String[] |
getUniqueVpcIds()
Get VPC character vpcId
|
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 |
setCageIds(String[] CageIds)
Set Financial cage IDs.
|
void |
setCdbErrors(Long[] CdbErrors)
Set Whether to lock disk write.
|
void |
setDeployGroupIds(String[] DeployGroupIds)
Set Placement group ID list.
|
void |
setEngineTypes(String[] EngineTypes)
Set Database engine type
|
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 |
setProxyIds(String[] ProxyIds)
Set Database proxy ID
|
void |
setProxyVips(String[] ProxyVips)
Set Database proxy IP
|
void |
setSecurityGroupId(String SecurityGroupId)
Set Security group ID.
|
void |
setStatus(Long[] Status)
Set Instance status.
|
void |
setSubnetIds(Long[] SubnetIds)
Set Subnet ID.
|
void |
setTagKeysForSearch(String[] TagKeysForSearch)
Set Whether to use the tag key as a filter condition
|
void |
setTags(Tag[] Tags)
Set Tag key value
|
void |
setTagValues(String[] TagValues)
Set Tag value
|
void |
setTaskStatus(Long[] TaskStatus)
Set Instance task status.
|
void |
setUniqSubnetIds(String[] UniqSubnetIds)
Set VPC character subnetId
|
void |
setUniqueVpcIds(String[] UniqueVpcIds)
Set VPC character vpcId
|
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, toJsonString
public DescribeDBInstancesRequest()
public DescribeDBInstancesRequest(DescribeDBInstancesRequest source)
public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- 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. Valid values: 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
- Whether to lock disk write. Valid values: `0`(unlock), `1`(lock). Default value: 0.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.public String[] getTagKeysForSearch()
public void setTagKeysForSearch(String[] TagKeysForSearch)
TagKeysForSearch
- Whether to use the tag key as a filter conditionpublic String[] getCageIds()
public void setCageIds(String[] CageIds)
CageIds
- Financial cage IDs.public String[] getTagValues()
public void setTagValues(String[] TagValues)
TagValues
- Tag valuepublic String[] getUniqueVpcIds()
public void setUniqueVpcIds(String[] UniqueVpcIds)
UniqueVpcIds
- VPC character vpcIdpublic String[] getUniqSubnetIds()
public void setUniqSubnetIds(String[] UniqSubnetIds)
UniqSubnetIds
- VPC character subnetIdpublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag key valuepublic String[] getProxyVips()
public void setProxyVips(String[] ProxyVips)
ProxyVips
- Database proxy IPpublic String[] getProxyIds()
public void setProxyIds(String[] ProxyIds)
ProxyIds
- Database proxy IDpublic String[] getEngineTypes()
public void setEngineTypes(String[] EngineTypes)
EngineTypes
- Database engine typeCopyright © 2023. All rights reserved.