public class DCDBInstanceInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
DCDBInstanceInfo() |
DCDBInstanceInfo(DCDBInstanceInfo 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 |
getAppId()
Get Application ID
|
Long |
getAutoRenewFlag()
Get Auto-renewal flag
|
Long |
getCpu()
Get Number of CPU cores
|
String |
getCreateTime()
Get Creation time
|
String |
getDbEngine()
Get Database engine
|
String |
getDbVersion()
Get Database engine version
|
String |
getDbVersionId()
Get Database engine version
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getDcnDstNum()
Get The number of DCN disaster recovery instances
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getDcnFlag()
Get DCN type.
|
Long |
getDcnStatus()
Get DCN status.
|
String |
getExclusterId()
Get Dedicated cluster ID.
|
Long |
getId()
Get Numeric ID of instance (this field is obsolete and should not be depended on)
|
String |
getInstanceId()
Get Instance ID
|
String |
getInstanceName()
Get Instance name
|
Long |
getInstanceType()
Get Instance type.
|
Long |
getIpv6Flag()
Get Indicates whether the instance uses IPv6
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getIsAuditSupported()
Get Whether the instance supports audit.
|
String |
getIsolatedTimestamp()
Get Isolation time
|
Long |
getIsTmp()
Get Temporary instance flag.
|
Long |
getLocker()
Get Async task flow ID when an async task is in progress on an instance
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getMemory()
Get Memory size in GB
|
Long |
getNodeCount()
Get Number of nodes.
|
String |
getPaymode()
Get Billing mode
|
String |
getPeriodEndTime()
Get Expiration time
|
Long |
getPid()
Get Product type ID (this field is obsolete and should not be depended on)
|
Long |
getProjectId()
Get Project ID
|
String |
getRegion()
Get Region
|
ResourceTag[] |
getResourceTags()
Get Instance tag information
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getShardCount()
Get Number of shards
|
ShardInfo[] |
getShardDetail()
Get Shard details
|
Long |
getStatus()
Get Instance status.
|
String |
getStatusDesc()
Get Status description
|
Long |
getStorage()
Get Storage capacity in GB
|
Long |
getSubnetId()
Get Subnet Digital ID
|
String |
getUin()
Get Account ID
|
String |
getUniqueSubnetId()
Get VPC subnet ID in string type
|
String |
getUniqueVpcId()
Get VPC ID in string type
|
String |
getUpdateTime()
Get Last updated time of an instance in the format of 2006-01-02 15:04:05
|
String |
getVip()
Get Private IP
|
String |
getVipv6()
Get Private network IPv6 address
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getVpcId()
Get Numeric ID of a VPC
|
Long |
getVport()
Get Private network port
|
String |
getWanDomain()
Get Domain name for public network access, which can be resolved by the public network
|
Long |
getWanPort()
Get Public network port
|
Long |
getWanPortIpv6()
Get Public network IPv6 port
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getWanStatus()
Get Public network access status.
|
Long |
getWanStatusIpv6()
Get Public network IPv6 status
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getWanVip()
Get Public IP address, which can be accessed over the public network
|
String |
getWanVipv6()
Get Public network IPv6 address
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getZone()
Get AZ
|
void |
setAppId(Long AppId)
Set Application ID
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Auto-renewal flag
|
void |
setCpu(Long Cpu)
Set Number of CPU cores
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setDbEngine(String DbEngine)
Set Database engine
|
void |
setDbVersion(String DbVersion)
Set Database engine version
|
void |
setDbVersionId(String DbVersionId)
Set Database engine version
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDcnDstNum(Long DcnDstNum)
Set The number of DCN disaster recovery instances
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setDcnFlag(Long DcnFlag)
Set DCN type.
|
void |
setDcnStatus(Long DcnStatus)
Set DCN status.
|
void |
setExclusterId(String ExclusterId)
Set Dedicated cluster ID.
|
void |
setId(Long Id)
Set Numeric ID of instance (this field is obsolete and should not be depended on)
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setInstanceName(String InstanceName)
Set Instance name
|
void |
setInstanceType(Long InstanceType)
Set Instance type.
|
void |
setIpv6Flag(Long Ipv6Flag)
Set Indicates whether the instance uses IPv6
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setIsAuditSupported(Long IsAuditSupported)
Set Whether the instance supports audit.
|
void |
setIsolatedTimestamp(String IsolatedTimestamp)
Set Isolation time
|
void |
setIsTmp(Long IsTmp)
Set Temporary instance flag.
|
void |
setLocker(Long Locker)
Set Async task flow ID when an async task is in progress on an instance
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setMemory(Long Memory)
Set Memory size in GB
|
void |
setNodeCount(Long NodeCount)
Set Number of nodes.
|
void |
setPaymode(String Paymode)
Set Billing mode
|
void |
setPeriodEndTime(String PeriodEndTime)
Set Expiration time
|
void |
setPid(Long Pid)
Set Product type ID (this field is obsolete and should not be depended on)
|
void |
setProjectId(Long ProjectId)
Set Project ID
|
void |
setRegion(String Region)
Set Region
|
void |
setResourceTags(ResourceTag[] ResourceTags)
Set Instance tag information
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setShardCount(Long ShardCount)
Set Number of shards
|
void |
setShardDetail(ShardInfo[] ShardDetail)
Set Shard details
|
void |
setStatus(Long Status)
Set Instance status.
|
void |
setStatusDesc(String StatusDesc)
Set Status description
|
void |
setStorage(Long Storage)
Set Storage capacity in GB
|
void |
setSubnetId(Long SubnetId)
Set Subnet Digital ID
|
void |
setUin(String Uin)
Set Account ID
|
void |
setUniqueSubnetId(String UniqueSubnetId)
Set VPC subnet ID in string type
|
void |
setUniqueVpcId(String UniqueVpcId)
Set VPC ID in string type
|
void |
setUpdateTime(String UpdateTime)
Set Last updated time of an instance in the format of 2006-01-02 15:04:05
|
void |
setVip(String Vip)
Set Private IP
|
void |
setVipv6(String Vipv6)
Set Private network IPv6 address
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setVpcId(Long VpcId)
Set Numeric ID of a VPC
|
void |
setVport(Long Vport)
Set Private network port
|
void |
setWanDomain(String WanDomain)
Set Domain name for public network access, which can be resolved by the public network
|
void |
setWanPort(Long WanPort)
Set Public network port
|
void |
setWanPortIpv6(Long WanPortIpv6)
Set Public network IPv6 port
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setWanStatus(Long WanStatus)
Set Public network access status.
|
void |
setWanStatusIpv6(Long WanStatusIpv6)
Set Public network IPv6 status
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setWanVip(String WanVip)
Set Public IP address, which can be accessed over the public network
|
void |
setWanVipv6(String WanVipv6)
Set Public network IPv6 address
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setZone(String Zone)
Set AZ
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DCDBInstanceInfo()
public DCDBInstanceInfo(DCDBInstanceInfo source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance namepublic Long getAppId()
public void setAppId(Long AppId)
AppId
- Application IDpublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project IDpublic String getRegion()
public void setRegion(String Region)
Region
- Regionpublic String getZone()
public void setZone(String Zone)
Zone
- AZpublic Long getVpcId()
public void setVpcId(Long VpcId)
VpcId
- Numeric ID of a VPCpublic Long getSubnetId()
public void setSubnetId(Long SubnetId)
SubnetId
- Subnet Digital IDpublic String getStatusDesc()
public void setStatusDesc(String StatusDesc)
StatusDesc
- Status descriptionpublic Long getStatus()
public void setStatus(Long Status)
Status
- Instance status. Valid values: `0` (creating), `1` (running task), `2` (running), `3` (uninitialized), `-1` (isolated), `4` (initializing), `5` (eliminating), `6` (restarting), `7` (migrating data)public String getVip()
public void setVip(String Vip)
Vip
- Private IPpublic Long getVport()
public void setVport(Long Vport)
Vport
- Private network portpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Auto-renewal flagpublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size in GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Storage capacity in GBpublic Long getShardCount()
public void setShardCount(Long ShardCount)
ShardCount
- Number of shardspublic String getPeriodEndTime()
public void setPeriodEndTime(String PeriodEndTime)
PeriodEndTime
- Expiration timepublic String getIsolatedTimestamp()
public void setIsolatedTimestamp(String IsolatedTimestamp)
IsolatedTimestamp
- Isolation timepublic String getUin()
public void setUin(String Uin)
Uin
- Account IDpublic ShardInfo[] getShardDetail()
public void setShardDetail(ShardInfo[] ShardDetail)
ShardDetail
- Shard detailspublic Long getNodeCount()
public void setNodeCount(Long NodeCount)
NodeCount
- Number of nodes. 2: one master and one slave; 3: one master and two slavespublic Long getIsTmp()
public void setIsTmp(Long IsTmp)
IsTmp
- Temporary instance flag. 0: non-temporary instancepublic String getExclusterId()
public void setExclusterId(String ExclusterId)
ExclusterId
- Dedicated cluster ID. If this parameter is empty, the instance is a non-dedicated cluster instancepublic String getUniqueVpcId()
public void setUniqueVpcId(String UniqueVpcId)
UniqueVpcId
- VPC ID in string typepublic String getUniqueSubnetId()
public void setUniqueSubnetId(String UniqueSubnetId)
UniqueSubnetId
- VPC subnet ID in string typepublic Long getId()
public void setId(Long Id)
Id
- Numeric ID of instance (this field is obsolete and should not be depended on)public String getWanDomain()
public void setWanDomain(String WanDomain)
WanDomain
- Domain name for public network access, which can be resolved by the public networkpublic String getWanVip()
public void setWanVip(String WanVip)
WanVip
- Public IP address, which can be accessed over the public networkpublic Long getWanPort()
public void setWanPort(Long WanPort)
WanPort
- Public network portpublic Long getPid()
public void setPid(Long Pid)
Pid
- Product type ID (this field is obsolete and should not be depended on)public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Last updated time of an instance in the format of 2006-01-02 15:04:05public String getDbEngine()
public void setDbEngine(String DbEngine)
DbEngine
- Database enginepublic String getDbVersion()
public void setDbVersion(String DbVersion)
DbVersion
- Database engine versionpublic String getPaymode()
public void setPaymode(String Paymode)
Paymode
- Billing modepublic Long getLocker()
public void setLocker(Long Locker)
Locker
- Async task flow ID when an async task is in progress on an instance
Note: this field may return null, indicating that no valid values can be obtained.public Long getWanStatus()
public void setWanStatus(Long WanStatus)
WanStatus
- Public network access status. 0: not enabled; 1: enabled; 2: disabled; 3: enablingpublic Long getIsAuditSupported()
public void setIsAuditSupported(Long IsAuditSupported)
IsAuditSupported
- Whether the instance supports audit. 1: yes; 0: nopublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Number of CPU corespublic Long getIpv6Flag()
public void setIpv6Flag(Long Ipv6Flag)
Ipv6Flag
- Indicates whether the instance uses IPv6
Note: this field may return null, indicating that no valid values can be obtained.public String getVipv6()
public void setVipv6(String Vipv6)
Vipv6
- Private network IPv6 address
Note: this field may return null, indicating that no valid values can be obtained.public String getWanVipv6()
public void setWanVipv6(String WanVipv6)
WanVipv6
- Public network IPv6 address
Note: this field may return null, indicating that no valid values can be obtained.public Long getWanPortIpv6()
public void setWanPortIpv6(Long WanPortIpv6)
WanPortIpv6
- Public network IPv6 port
Note: this field may return null, indicating that no valid values can be obtained.public Long getWanStatusIpv6()
public void setWanStatusIpv6(Long WanStatusIpv6)
WanStatusIpv6
- Public network IPv6 status
Note: this field may return null, indicating that no valid values can be obtained.public Long getDcnFlag()
public void setDcnFlag(Long DcnFlag)
DcnFlag
- DCN type. Valid values: 0 (null), 1 (primary instance), 2 (disaster recovery instance)
Note: this field may return null, indicating that no valid values can be obtained.public Long getDcnStatus()
public void setDcnStatus(Long DcnStatus)
DcnStatus
- DCN status. Valid values: 0 (null), 1 (creating), 2 (syncing), 3 (disconnected)
Note: this field may return null, indicating that no valid values can be obtained.public Long getDcnDstNum()
public void setDcnDstNum(Long DcnDstNum)
DcnDstNum
- The number of DCN disaster recovery instances
Note: this field may return null, indicating that no valid values can be obtained.public Long getInstanceType()
public void setInstanceType(Long InstanceType)
InstanceType
- Instance type. Valid values: `1` (dedicated primary instance), `2` (standard primary instance), `3` (standard disaster recovery instance), `4` (dedicated disaster recovery instance)
Note: this field may return `null`, indicating that no valid values can be obtained.public ResourceTag[] getResourceTags()
public void setResourceTags(ResourceTag[] ResourceTags)
ResourceTags
- Instance tag information
Note: this field may return `null`, indicating that no valid values can be obtained.public String getDbVersionId()
public void setDbVersionId(String DbVersionId)
DbVersionId
- Database engine version
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.