public class InstanceDetail extends AbstractModel
Constructor and Description |
---|
InstanceDetail() |
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 tag
|
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 tag
|
String |
getMachineType()
Get Instance machine type
|
String |
getMaintenanceEnd()
Get End time of the maintenance time window
|
String |
getMaintenanceStart()
Get Start time of the maintenance time window
|
Long |
getMemory()
Get Instance memory size in MB
|
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
|
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 tag
|
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 tag
|
void |
setMachineType(String MachineType)
Set Instance machine type
|
void |
setMaintenanceEnd(String MaintenanceEnd)
Set End time of the maintenance time window
|
void |
setMaintenanceStart(String MaintenanceStart)
Set Start time of the maintenance time window
|
void |
setMemory(Long Memory)
Set Instance memory size in MB
|
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 |
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 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 (sharding 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 time windowpublic String getMaintenanceEnd()
public void setMaintenanceEnd(String MaintenanceEnd)
MaintenanceEnd
- End time of the maintenance time windowpublic 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 promoted instance, this field represents information of its temp instance; for a temp instance, this field represents information of its promoted instance; and for a read-only/disaster recovery instance, this field represents information of its primary instancepublic TagInfo[] getTags()
public void setTags(TagInfo[] Tags)
Tags
- Instance tag information setpublic Long getInstanceVer()
public void setInstanceVer(Long InstanceVer)
InstanceVer
- Instance version tagpublic Long getClusterVer()
public void setClusterVer(Long ClusterVer)
ClusterVer
- Instance version tagpublic 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 BaradCopyright © 2020. All rights reserved.