public class DescribeDCDBInstancesRequest extends AbstractModel
Constructor and Description |
---|
DescribeDCDBInstancesRequest() |
DescribeDCDBInstancesRequest(DescribeDCDBInstancesRequest 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[] |
getExcludeStatus()
Get Use this filter to exclude instances in specific statuses
|
String[] |
getExclusterIds()
Get Dedicated cluster ID
|
Long |
getExclusterType()
Get 1: non-dedicated cluster; 2: dedicated cluster; 0: all
|
String |
getFilterInstanceType()
Get Instance types used in filtering.
|
String[] |
getInstanceIds()
Get Query by instance ID or IDs.
|
Boolean |
getIsFilterExcluster()
Get Identifies whether to use the `ExclusterType` field.
|
Boolean |
getIsFilterVpc()
Get Whether to search by VPC
|
Long |
getLimit()
Get Number of returned results.
|
Long |
getOffset()
Get Offset.
|
String |
getOrderBy()
Get Sort by field.
|
String |
getOrderByType()
Get Sort by type.
|
Long[] |
getProjectIds()
Get Query by project ID
|
String |
getSearchKey()
Get Search keyword.
|
String |
getSearchName()
Get Search field name.
|
Long[] |
getStatus()
Get Use this filter to include instances in specific statuses
|
String |
getSubnetId()
Get VPC subnet ID, which is valid when `IsFilterVpc` is 1
|
String[] |
getTagKeys()
Get Tag key used in queries
|
String |
getVpcId()
Get VPC ID, which is valid when `IsFilterVpc` is 1
|
void |
setExcludeStatus(Long[] ExcludeStatus)
Set Use this filter to exclude instances in specific statuses
|
void |
setExclusterIds(String[] ExclusterIds)
Set Dedicated cluster ID
|
void |
setExclusterType(Long ExclusterType)
Set 1: non-dedicated cluster; 2: dedicated cluster; 0: all
|
void |
setFilterInstanceType(String FilterInstanceType)
Set Instance types used in filtering.
|
void |
setInstanceIds(String[] InstanceIds)
Set Query by instance ID or IDs.
|
void |
setIsFilterExcluster(Boolean IsFilterExcluster)
Set Identifies whether to use the `ExclusterType` field.
|
void |
setIsFilterVpc(Boolean IsFilterVpc)
Set Whether to search by VPC
|
void |
setLimit(Long Limit)
Set Number of returned results.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setOrderBy(String OrderBy)
Set Sort by field.
|
void |
setOrderByType(String OrderByType)
Set Sort by type.
|
void |
setProjectIds(Long[] ProjectIds)
Set Query by project ID
|
void |
setSearchKey(String SearchKey)
Set Search keyword.
|
void |
setSearchName(String SearchName)
Set Search field name.
|
void |
setStatus(Long[] Status)
Set Use this filter to include instances in specific statuses
|
void |
setSubnetId(String SubnetId)
Set VPC subnet ID, which is valid when `IsFilterVpc` is 1
|
void |
setTagKeys(String[] TagKeys)
Set Tag key used in queries
|
void |
setVpcId(String VpcId)
Set VPC ID, which is valid when `IsFilterVpc` is 1
|
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 DescribeDCDBInstancesRequest()
public DescribeDCDBInstancesRequest(DescribeDCDBInstancesRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Query by instance ID or IDs. Instance ID is in the format of dcdbt-2t4cf98dpublic String getSearchName()
public void setSearchName(String SearchName)
SearchName
- Search field name. Valid values: instancename (search by instance name); vip (search by private IP); all (search by instance ID, instance name, and private IP).public String getSearchKey()
public void setSearchKey(String SearchKey)
SearchKey
- Search keyword. Fuzzy search is supported. Multiple keywords should be separated by line breaks (`\n`).public Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds
- Query by project IDpublic Boolean getIsFilterVpc()
public void setIsFilterVpc(Boolean IsFilterVpc)
IsFilterVpc
- Whether to search by VPCpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID, which is valid when `IsFilterVpc` is 1public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- VPC subnet ID, which is valid when `IsFilterVpc` is 1public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- Sort by field. Valid values: projectId; createtime; instancenamepublic String getOrderByType()
public void setOrderByType(String OrderByType)
OrderByType
- Sort by type. Valid values: desc; ascpublic Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: 0public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returned results. Default value: 10. Maximum value: 100.public Long getExclusterType()
public void setExclusterType(Long ExclusterType)
ExclusterType
- 1: non-dedicated cluster; 2: dedicated cluster; 0: allpublic Boolean getIsFilterExcluster()
public void setIsFilterExcluster(Boolean IsFilterExcluster)
IsFilterExcluster
- Identifies whether to use the `ExclusterType` field. false: no; true: yespublic String[] getExclusterIds()
public void setExclusterIds(String[] ExclusterIds)
ExclusterIds
- Dedicated cluster IDpublic String[] getTagKeys()
public void setTagKeys(String[] TagKeys)
TagKeys
- Tag key used in queriespublic String getFilterInstanceType()
public void setFilterInstanceType(String FilterInstanceType)
FilterInstanceType
- Instance types used in filtering. Valid values: 1 (dedicated instance), 2 (primary instance), 3 (disaster recovery instance). Multiple values should be separated by commas.public Long[] getStatus()
public void setStatus(Long[] Status)
Status
- Use this filter to include instances in specific statusespublic Long[] getExcludeStatus()
public void setExcludeStatus(Long[] ExcludeStatus)
ExcludeStatus
- Use this filter to exclude instances in specific statusesCopyright © 2021. All rights reserved.