public class InstanceDetail extends AbstractModel
Constructor and Description |
---|
InstanceDetail() |
InstanceDetail(InstanceDetail 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 |
getAutoRenewFlag()
Get Instance auto-renewal flag.
|
DBInstanceInfo[] |
getCloneInstances()
Get Information of temp instances
|
Long |
getClusterType()
Get Cluster type.
|
Long |
getClusterVer()
Get Instance version
|
Long |
getConfigServerCpuNum()
Get CPU number of ConfigServer node
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getConfigServerMemory()
Get Memory of ConfigServer node
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getConfigServerNodeNum()
Get Number of ConfigServer nodes
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getConfigServerVolume()
Get Disk size of ConfigServer node
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getCpuNum()
Get Number of CPU cores of an instance
|
String |
getCreateTime()
Get Instance creation time
|
String |
getDeadLine()
Get Instance expiration time
|
String |
getInstanceId()
Get Instance ID
|
String |
getInstanceName()
Get Instance name
|
String |
getInstanceStatusDesc()
Get Instance status description
|
Long |
getInstanceType()
Get Instance type.
|
Long |
getInstanceVer()
Get Instance version
|
String |
getMachineType()
Get Instance machine type
|
String |
getMaintenanceEnd()
Get End time of the maintenance time
|
String |
getMaintenanceStart()
Get Start time of the maintenance time
|
Long |
getMemory()
Get Instance memory size in MB
|
Long |
getMongosCpuNum()
Get Number of mongos nodes
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getMongosMemory()
Get mongos node memory
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getMongosNodeNum()
Get Number of mongos nodes
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getMongoVersion()
Get Instance version information
|
Long |
getNetType()
Get Network type.
|
Long |
getPayMode()
Get Billing type.
|
Long |
getProjectId()
Get Project ID
|
Long |
getProtocol()
Get Protocol information.
|
DBInstanceInfo[] |
getReadonlyInstances()
Get Information of read-only instances
|
Long |
getReadonlyNodeNum()
Get Number of read-only nodes
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getRealInstanceId()
Get Physical instance ID.
|
String |
getRegion()
Get Region information
|
DBInstanceInfo |
getRelatedInstance()
Get Information of associated instances.
|
ShardInfo[] |
getReplicaSets()
Get Shard information
|
Long |
getReplicationSetNum()
Get Number of instance shards
|
Long |
getSecondaryNum()
Get Number of secondary nodes of an instance
|
DBInstanceInfo[] |
getStandbyInstances()
Get Information of disaster recovery instances
|
Long |
getStatus()
Get Instance status.
|
String |
getSubnetId()
Get Subnet ID of VPC
|
TagInfo[] |
getTags()
Get Instance tag information set
|
Long |
getUsedVolume()
Get Used capacity in MB
|
String |
getVip()
Get Instance IP
|
Long |
getVolume()
Get Instance disk size in MB
|
String |
getVpcId()
Get VPC ID
|
Long |
getVport()
Get Port number
|
String |
getZone()
Get AZ information
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Instance auto-renewal flag.
|
void |
setCloneInstances(DBInstanceInfo[] CloneInstances)
Set Information of temp instances
|
void |
setClusterType(Long ClusterType)
Set Cluster type.
|
void |
setClusterVer(Long ClusterVer)
Set Instance version
|
void |
setConfigServerCpuNum(Long ConfigServerCpuNum)
Set CPU number of ConfigServer node
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setConfigServerMemory(Long ConfigServerMemory)
Set Memory of ConfigServer node
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setConfigServerNodeNum(Long ConfigServerNodeNum)
Set Number of ConfigServer nodes
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setConfigServerVolume(Long ConfigServerVolume)
Set Disk size of ConfigServer node
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCpuNum(Long CpuNum)
Set Number of CPU cores of an instance
|
void |
setCreateTime(String CreateTime)
Set Instance creation time
|
void |
setDeadLine(String DeadLine)
Set Instance expiration time
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setInstanceName(String InstanceName)
Set Instance name
|
void |
setInstanceStatusDesc(String InstanceStatusDesc)
Set Instance status description
|
void |
setInstanceType(Long InstanceType)
Set Instance type.
|
void |
setInstanceVer(Long InstanceVer)
Set Instance version
|
void |
setMachineType(String MachineType)
Set Instance machine type
|
void |
setMaintenanceEnd(String MaintenanceEnd)
Set End time of the maintenance time
|
void |
setMaintenanceStart(String MaintenanceStart)
Set Start time of the maintenance time
|
void |
setMemory(Long Memory)
Set Instance memory size in MB
|
void |
setMongosCpuNum(Long MongosCpuNum)
Set Number of mongos nodes
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMongosMemory(Long MongosMemory)
Set mongos node memory
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMongosNodeNum(Long MongosNodeNum)
Set Number of mongos nodes
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMongoVersion(String MongoVersion)
Set Instance version information
|
void |
setNetType(Long NetType)
Set Network type.
|
void |
setPayMode(Long PayMode)
Set Billing type.
|
void |
setProjectId(Long ProjectId)
Set Project ID
|
void |
setProtocol(Long Protocol)
Set Protocol information.
|
void |
setReadonlyInstances(DBInstanceInfo[] ReadonlyInstances)
Set Information of read-only instances
|
void |
setReadonlyNodeNum(Long ReadonlyNodeNum)
Set Number of read-only nodes
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRealInstanceId(String RealInstanceId)
Set Physical instance ID.
|
void |
setRegion(String Region)
Set Region information
|
void |
setRelatedInstance(DBInstanceInfo RelatedInstance)
Set Information of associated instances.
|
void |
setReplicaSets(ShardInfo[] ReplicaSets)
Set Shard information
|
void |
setReplicationSetNum(Long ReplicationSetNum)
Set Number of instance shards
|
void |
setSecondaryNum(Long SecondaryNum)
Set Number of secondary nodes of an instance
|
void |
setStandbyInstances(DBInstanceInfo[] StandbyInstances)
Set Information of disaster recovery instances
|
void |
setStatus(Long Status)
Set Instance status.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID of VPC
|
void |
setTags(TagInfo[] Tags)
Set Instance tag information set
|
void |
setUsedVolume(Long UsedVolume)
Set Used capacity in MB
|
void |
setVip(String Vip)
Set Instance IP
|
void |
setVolume(Long Volume)
Set Instance disk size in MB
|
void |
setVpcId(String VpcId)
Set VPC ID
|
void |
setVport(Long Vport)
Set Port number
|
void |
setZone(String Zone)
Set AZ information
|
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 InstanceDetail()
public InstanceDetail(InstanceDetail source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance namepublic Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Billing type. Valid value: 0 (pay-as-you-go)public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project IDpublic Long getClusterType()
public void setClusterType(Long ClusterType)
ClusterType
- Cluster type. Valid values: `0` (replica set instance), `1` (sharded instance).public String getRegion()
public void setRegion(String Region)
Region
- Region informationpublic String getZone()
public void setZone(String Zone)
Zone
- AZ informationpublic Long getNetType()
public void setNetType(Long NetType)
NetType
- Network type. Valid values: 0 (basic network), 1 (VPC)public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID of VPCpublic Long getStatus()
public void setStatus(Long Status)
Status
- Instance status. Valid values: `0` (to be initialized), `1` (in process), `2` (running), `-2` (expired).public String getVip()
public void setVip(String Vip)
Vip
- Instance IPpublic Long getVport()
public void setVport(Long Vport)
Vport
- Port numberpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Instance creation timepublic String getDeadLine()
public void setDeadLine(String DeadLine)
DeadLine
- Instance expiration timepublic String getMongoVersion()
public void setMongoVersion(String MongoVersion)
MongoVersion
- Instance version informationpublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Instance memory size in MBpublic Long getVolume()
public void setVolume(Long Volume)
Volume
- Instance disk size in MBpublic Long getCpuNum()
public void setCpuNum(Long CpuNum)
CpuNum
- Number of CPU cores of an instancepublic String getMachineType()
public void setMachineType(String MachineType)
MachineType
- Instance machine typepublic Long getSecondaryNum()
public void setSecondaryNum(Long SecondaryNum)
SecondaryNum
- Number of secondary nodes of an instancepublic Long getReplicationSetNum()
public void setReplicationSetNum(Long ReplicationSetNum)
ReplicationSetNum
- Number of instance shardspublic Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Instance auto-renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal), `2` (no renewal upon expiration)public Long getUsedVolume()
public void setUsedVolume(Long UsedVolume)
UsedVolume
- Used capacity in MBpublic String getMaintenanceStart()
public void setMaintenanceStart(String MaintenanceStart)
MaintenanceStart
- Start time of the maintenance timepublic String getMaintenanceEnd()
public void setMaintenanceEnd(String MaintenanceEnd)
MaintenanceEnd
- End time of the maintenance timepublic ShardInfo[] getReplicaSets()
public void setReplicaSets(ShardInfo[] ReplicaSets)
ReplicaSets
- Shard informationpublic DBInstanceInfo[] getReadonlyInstances()
public void setReadonlyInstances(DBInstanceInfo[] ReadonlyInstances)
ReadonlyInstances
- Information of read-only instancespublic DBInstanceInfo[] getStandbyInstances()
public void setStandbyInstances(DBInstanceInfo[] StandbyInstances)
StandbyInstances
- Information of disaster recovery instancespublic DBInstanceInfo[] getCloneInstances()
public void setCloneInstances(DBInstanceInfo[] CloneInstances)
CloneInstances
- Information of temp instancespublic DBInstanceInfo getRelatedInstance()
public void setRelatedInstance(DBInstanceInfo RelatedInstance)
RelatedInstance
- Information of associated instances. For a regular instance, this field represents the information of its temp instance; for a temp instance, this field represents the information of its regular instance; and for a read-only instance or a disaster recovery instance, this field represents the information of its primary instance.public TagInfo[] getTags()
public void setTags(TagInfo[] Tags)
Tags
- Instance tag information setpublic Long getInstanceVer()
public void setInstanceVer(Long InstanceVer)
InstanceVer
- Instance versionpublic Long getClusterVer()
public void setClusterVer(Long ClusterVer)
ClusterVer
- Instance versionpublic Long getProtocol()
public void setProtocol(Long Protocol)
Protocol
- Protocol information. Valid values: `1` (mongodb), `2` (dynamodb).public Long getInstanceType()
public void setInstanceType(Long InstanceType)
InstanceType
- Instance type. Valid values: 1 (promoted instance), 2 (temp instance), 3 (read-only instance), 4 (disaster recovery instance)public String getInstanceStatusDesc()
public void setInstanceStatusDesc(String InstanceStatusDesc)
InstanceStatusDesc
- Instance status descriptionpublic String getRealInstanceId()
public void setRealInstanceId(String RealInstanceId)
RealInstanceId
- Physical instance ID. For an instance that has been rolled back and replaced, its InstanceId and RealInstanceId are different. The physical instance ID is needed in such scenarios as getting monitoring data from Baradpublic Long getMongosNodeNum()
public void setMongosNodeNum(Long MongosNodeNum)
MongosNodeNum
- Number of mongos nodes
Note: This field may return null, indicating that no valid values can be obtained.public Long getMongosMemory()
public void setMongosMemory(Long MongosMemory)
MongosMemory
- mongos node memory
Note: This field may return null, indicating that no valid values can be obtained.public Long getMongosCpuNum()
public void setMongosCpuNum(Long MongosCpuNum)
MongosCpuNum
- Number of mongos nodes
Note: This field may return null, indicating that no valid values can be obtained.public Long getConfigServerNodeNum()
public void setConfigServerNodeNum(Long ConfigServerNodeNum)
ConfigServerNodeNum
- Number of ConfigServer nodes
Note: This field may return null, indicating that no valid values can be obtained.public Long getConfigServerMemory()
public void setConfigServerMemory(Long ConfigServerMemory)
ConfigServerMemory
- Memory of ConfigServer node
Note: This field may return null, indicating that no valid values can be obtained.public Long getConfigServerVolume()
public void setConfigServerVolume(Long ConfigServerVolume)
ConfigServerVolume
- Disk size of ConfigServer node
Note: This field may return null, indicating that no valid values can be obtained.public Long getConfigServerCpuNum()
public void setConfigServerCpuNum(Long ConfigServerCpuNum)
ConfigServerCpuNum
- CPU number of ConfigServer node
Note: This field may return null, indicating that no valid values can be obtained.public Long getReadonlyNodeNum()
public void setReadonlyNodeNum(Long ReadonlyNodeNum)
ReadonlyNodeNum
- Number of read-only nodes
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.