public class RoInstanceInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
RoInstanceInfo() |
RoInstanceInfo(RoInstanceInfo 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 |
---|---|
String |
getDeadlineTime()
Get RO instance expiration time in the format of yyyy-mm-dd hh:mm:ss.
|
String |
getDeviceType()
Get RO instance specification description.
|
String |
getEngineVersion()
Get Database engine version of the read-only replica.
|
Long |
getHourFeeStatus()
Get Pay-as-you-go billing status.
|
String |
getInstanceId()
Get RO instance ID in the format of cdbro-c1nl9rpv
|
String |
getInstanceName()
Get RO instance name
|
Long |
getInstanceType()
Get Instance type.
|
String |
getMasterInstanceId()
Get Master instance ID corresponding to the RO group
|
Long |
getMemory()
Get RO instance memory size in MB
|
String |
getOfflineTime()
Get Last deactivation time of a RO instance in the RO group
|
Long |
getPayType()
Get RO instance billing method.
|
Long |
getQps()
Get Queries per second
|
String |
getRegion()
Get RO instance region name, such as ap-shanghai
|
String |
getRoStatus()
Get RO instance status in the RO group.
|
Long |
getStatus()
Get RO instance status.
|
Long |
getSubnetId()
Get VPC subnet ID of the RO instance
|
Long |
getTaskStatus()
Get RO instance task status.
|
String |
getVip()
Get Private IP address of the RO instance
|
Long |
getVolume()
Get RO instance disk size in GB
|
Long |
getVpcId()
Get VPC ID of the RO instance
|
Long |
getVport()
Get Access port of the RO instance
|
Long |
getWeight()
Get RO instance weight in the RO group
|
String |
getZone()
Get Name of RO AZ, such as ap-shanghai-1
|
void |
setDeadlineTime(String DeadlineTime)
Set RO instance expiration time in the format of yyyy-mm-dd hh:mm:ss.
|
void |
setDeviceType(String DeviceType)
Set RO instance specification description.
|
void |
setEngineVersion(String EngineVersion)
Set Database engine version of the read-only replica.
|
void |
setHourFeeStatus(Long HourFeeStatus)
Set Pay-as-you-go billing status.
|
void |
setInstanceId(String InstanceId)
Set RO instance ID in the format of cdbro-c1nl9rpv
|
void |
setInstanceName(String InstanceName)
Set RO instance name
|
void |
setInstanceType(Long InstanceType)
Set Instance type.
|
void |
setMasterInstanceId(String MasterInstanceId)
Set Master instance ID corresponding to the RO group
|
void |
setMemory(Long Memory)
Set RO instance memory size in MB
|
void |
setOfflineTime(String OfflineTime)
Set Last deactivation time of a RO instance in the RO group
|
void |
setPayType(Long PayType)
Set RO instance billing method.
|
void |
setQps(Long Qps)
Set Queries per second
|
void |
setRegion(String Region)
Set RO instance region name, such as ap-shanghai
|
void |
setRoStatus(String RoStatus)
Set RO instance status in the RO group.
|
void |
setStatus(Long Status)
Set RO instance status.
|
void |
setSubnetId(Long SubnetId)
Set VPC subnet ID of the RO instance
|
void |
setTaskStatus(Long TaskStatus)
Set RO instance task status.
|
void |
setVip(String Vip)
Set Private IP address of the RO instance
|
void |
setVolume(Long Volume)
Set RO instance disk size in GB
|
void |
setVpcId(Long VpcId)
Set VPC ID of the RO instance
|
void |
setVport(Long Vport)
Set Access port of the RO instance
|
void |
setWeight(Long Weight)
Set RO instance weight in the RO group
|
void |
setZone(String Zone)
Set Name of RO AZ, such as ap-shanghai-1
|
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 RoInstanceInfo()
public RoInstanceInfo(RoInstanceInfo source)
public String getMasterInstanceId()
public void setMasterInstanceId(String MasterInstanceId)
MasterInstanceId
- Master instance ID corresponding to the RO grouppublic String getRoStatus()
public void setRoStatus(String RoStatus)
RoStatus
- RO instance status in the RO group. Value range: online, offlinepublic String getOfflineTime()
public void setOfflineTime(String OfflineTime)
OfflineTime
- Last deactivation time of a RO instance in the RO grouppublic Long getWeight()
public void setWeight(Long Weight)
Weight
- RO instance weight in the RO grouppublic String getRegion()
public void setRegion(String Region)
Region
- RO instance region name, such as ap-shanghaipublic String getZone()
public void setZone(String Zone)
Zone
- Name of RO AZ, such as ap-shanghai-1public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- RO instance ID in the format of cdbro-c1nl9rpvpublic Long getStatus()
public void setStatus(Long Status)
Status
- RO instance status. Valid values: `0` (creating), `1` (running), `3` (remote RO), `4` (deleting). When the `DescribeDBInstances` API is used to query the information of the source instance, if the source instance is associated with a remote read-only instance, the returned status value of the remote read-only instance always shows 3.public Long getInstanceType()
public void setInstanceType(Long InstanceType)
InstanceType
- Instance type. Value range: 1 (primary), 2 (disaster recovery), 3 (read-only)public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- RO instance namepublic Long getHourFeeStatus()
public void setHourFeeStatus(Long HourFeeStatus)
HourFeeStatus
- Pay-as-you-go billing status. Value range: 1 (normal), 2 (in arrears)public Long getTaskStatus()
public void setTaskStatus(Long TaskStatus)
TaskStatus
- RO instance task status. Value range: public Long getMemory()
public void setMemory(Long Memory)
Memory
- RO instance memory size in MBpublic Long getVolume()
public void setVolume(Long Volume)
Volume
- RO instance disk size in GBpublic Long getQps()
public void setQps(Long Qps)
Qps
- Queries per secondpublic String getVip()
public void setVip(String Vip)
Vip
- Private IP address of the RO instancepublic Long getVport()
public void setVport(Long Vport)
Vport
- Access port of the RO instancepublic Long getVpcId()
public void setVpcId(Long VpcId)
VpcId
- VPC ID of the RO instancepublic Long getSubnetId()
public void setSubnetId(Long SubnetId)
SubnetId
- VPC subnet ID of the RO instancepublic String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType
- RO instance specification description. Value range: CUSTOMpublic String getEngineVersion()
public void setEngineVersion(String EngineVersion)
EngineVersion
- Database engine version of the read-only replica. Valid values: `5.1`, `5.5`, `5.6`, `5.7`, `8.0`public String getDeadlineTime()
public void setDeadlineTime(String DeadlineTime)
DeadlineTime
- RO instance expiration time in the format of yyyy-mm-dd hh:mm:ss. If it is a pay-as-you-go instance, the value of this field is 0000-00-00 00:00:00public Long getPayType()
public void setPayType(Long PayType)
PayType
- RO instance billing method. Value range: 0 (monthly subscribed), 1 (pay-as-you-go), 2 (monthly postpaid)Copyright © 2024. All rights reserved.