public class DBInstance extends AbstractModel
Constructor and Description |
---|
DBInstance() |
Modifier and Type | Method and Description |
---|---|
String |
getBackupTime()
Get Backup time point
|
Long |
getCpu()
Get Number of CPU cores of instance
|
String |
getCreateTime()
Get Instance creation time
|
String |
getEndTime()
Get Instance billing end time
|
String |
getHAFlag()
Get Disaster recovery type.
|
String |
getInstanceId()
Get Instance ID
|
String |
getIsolateOperator()
Get Instance isolation.
|
String |
getIsolateTime()
Get Instance isolation time
|
Long |
getMemory()
Get Instance memory size in GB
|
Long |
getModel()
Get Instance high availability status.
|
String |
getName()
Get Instance name
|
Long |
getPayMode()
Get Instance billing mode.
|
Long |
getPid()
Get Billing ID
|
Long |
getProjectId()
Get Project ID of instance
|
String |
getRegion()
Get Instance region name, such as ap-guangzhou
|
Long |
getRegionId()
Get Instance region ID
|
Long |
getRenewFlag()
Get Instance renewal flag
|
String |
getROFlag()
Get Read-only flag.
|
String |
getStartTime()
Get Instance billing start time
|
Long |
getStatus()
Get Instance status.
|
Long |
getStorage()
Get Instance storage capacity in GB
|
String |
getSubFlag()
Get Pub/sub flag.
|
Long |
getSubnetId()
Get Instance VPC subnet ID, which will be 0 if the basic network is used
|
String |
getType()
Get Physical server code
|
String |
getUid()
Get Instance UID
|
String |
getUniqSubnetId()
Get Unique string-type ID of instance subnet in the format of `subnet-xxx`, which is an empty string if the basic network is used
|
String |
getUniqVpcId()
Get Unique string-type ID of instance VPC in the format of `vpc-xxx`, which is an empty string if the basic network is used
|
String |
getUpdateTime()
Get Instance update time
|
Long |
getUsedStorage()
Get Used storage capacity of instance in GB
|
String |
getVersion()
Get Instance version code
|
String |
getVersionName()
Get Instance version
|
String |
getVip()
Get Instance access IP
|
Long |
getVpcId()
Get Instance VPC ID, which will be 0 if the basic network is used
|
Long |
getVport()
Get Instance access port
|
String |
getZone()
Get Instance AZ name, such as ap-guangzhou-1
|
Long |
getZoneId()
Get Instance AZ ID
|
void |
setBackupTime(String BackupTime)
Set Backup time point
|
void |
setCpu(Long Cpu)
Set Number of CPU cores of instance
|
void |
setCreateTime(String CreateTime)
Set Instance creation time
|
void |
setEndTime(String EndTime)
Set Instance billing end time
|
void |
setHAFlag(String HAFlag)
Set Disaster recovery type.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setIsolateOperator(String IsolateOperator)
Set Instance isolation.
|
void |
setIsolateTime(String IsolateTime)
Set Instance isolation time
|
void |
setMemory(Long Memory)
Set Instance memory size in GB
|
void |
setModel(Long Model)
Set Instance high availability status.
|
void |
setName(String Name)
Set Instance name
|
void |
setPayMode(Long PayMode)
Set Instance billing mode.
|
void |
setPid(Long Pid)
Set Billing ID
|
void |
setProjectId(Long ProjectId)
Set Project ID of instance
|
void |
setRegion(String Region)
Set Instance region name, such as ap-guangzhou
|
void |
setRegionId(Long RegionId)
Set Instance region ID
|
void |
setRenewFlag(Long RenewFlag)
Set Instance renewal flag
|
void |
setROFlag(String ROFlag)
Set Read-only flag.
|
void |
setStartTime(String StartTime)
Set Instance billing start time
|
void |
setStatus(Long Status)
Set Instance status.
|
void |
setStorage(Long Storage)
Set Instance storage capacity in GB
|
void |
setSubFlag(String SubFlag)
Set Pub/sub flag.
|
void |
setSubnetId(Long SubnetId)
Set Instance VPC subnet ID, which will be 0 if the basic network is used
|
void |
setType(String Type)
Set Physical server code
|
void |
setUid(String Uid)
Set Instance UID
|
void |
setUniqSubnetId(String UniqSubnetId)
Set Unique string-type ID of instance subnet in the format of `subnet-xxx`, which is an empty string if the basic network is used
|
void |
setUniqVpcId(String UniqVpcId)
Set Unique string-type ID of instance VPC in the format of `vpc-xxx`, which is an empty string if the basic network is used
|
void |
setUpdateTime(String UpdateTime)
Set Instance update time
|
void |
setUsedStorage(Long UsedStorage)
Set Used storage capacity of instance in GB
|
void |
setVersion(String Version)
Set Instance version code
|
void |
setVersionName(String VersionName)
Set Instance version
|
void |
setVip(String Vip)
Set Instance access IP
|
void |
setVpcId(Long VpcId)
Set Instance VPC ID, which will be 0 if the basic network is used
|
void |
setVport(Long Vport)
Set Instance access port
|
void |
setZone(String Zone)
Set Instance AZ name, such as ap-guangzhou-1
|
void |
setZoneId(Long ZoneId)
Set Instance 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 String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getName()
public void setName(String Name)
Name
- Instance namepublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID of instancepublic Long getRegionId()
public void setRegionId(Long RegionId)
RegionId
- Instance region IDpublic Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- Instance AZ IDpublic Long getVpcId()
public void setVpcId(Long VpcId)
VpcId
- Instance VPC ID, which will be 0 if the basic network is usedpublic Long getSubnetId()
public void setSubnetId(Long SubnetId)
SubnetId
- Instance VPC subnet ID, which will be 0 if the basic network is usedpublic Long getStatus()
public void setStatus(Long Status)
Status
- Instance status. Valid values: public String getVip()
public void setVip(String Vip)
Vip
- Instance access IPpublic Long getVport()
public void setVport(Long Vport)
Vport
- Instance access portpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Instance creation timepublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Instance update timepublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Instance billing start timepublic String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Instance billing end timepublic String getIsolateTime()
public void setIsolateTime(String IsolateTime)
IsolateTime
- Instance isolation timepublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Instance memory size in GBpublic Long getUsedStorage()
public void setUsedStorage(Long UsedStorage)
UsedStorage
- Used storage capacity of instance in GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Instance storage capacity in GBpublic String getVersionName()
public void setVersionName(String VersionName)
VersionName
- Instance versionpublic Long getRenewFlag()
public void setRenewFlag(Long RenewFlag)
RenewFlag
- Instance renewal flagpublic Long getModel()
public void setModel(Long Model)
Model
- Instance high availability status. 1: dual-server high-availability, 2: single-serverpublic String getRegion()
public void setRegion(String Region)
Region
- Instance region name, such as ap-guangzhoupublic String getZone()
public void setZone(String Zone)
Zone
- Instance AZ name, such as ap-guangzhou-1public String getBackupTime()
public void setBackupTime(String BackupTime)
BackupTime
- Backup time pointpublic Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Instance billing mode. 0: pay-as-you-gopublic String getUid()
public void setUid(String Uid)
Uid
- Instance UIDpublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Number of CPU cores of instancepublic String getVersion()
public void setVersion(String Version)
Version
- Instance version codepublic String getType()
public void setType(String Type)
Type
- Physical server codepublic Long getPid()
public void setPid(Long Pid)
Pid
- Billing IDpublic String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- Unique string-type ID of instance VPC in the format of `vpc-xxx`, which is an empty string if the basic network is usedpublic String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId
- Unique string-type ID of instance subnet in the format of `subnet-xxx`, which is an empty string if the basic network is usedpublic String getIsolateOperator()
public void setIsolateOperator(String IsolateOperator)
IsolateOperator
- Instance isolation.
Note: this field may return null, indicating that no valid values can be obtained.public String getSubFlag()
public void setSubFlag(String SubFlag)
SubFlag
- Pub/sub flag. Valid values: SUB (subscribe instance), PUB (publish instance). If it is left empty, it refers to a regular instance without a pub/sub design.
Note: this field may return null, indicating that no valid values can be obtained.public String getROFlag()
public void setROFlag(String ROFlag)
ROFlag
- Read-only flag. Valid values: RO (read-only instance), MASTER (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
Note: this field may return null, indicating that no valid values can be obtained.public String getHAFlag()
public void setHAFlag(String HAFlag)
HAFlag
- Disaster recovery type. Valid values: MIRROR (image), ALWAYSON (AlwaysOn), SINGLE (singleton).
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.