public class DcnDetailItem extends AbstractModel
| Constructor and Description | 
|---|
DcnDetailItem()  | 
DcnDetailItem(DcnDetailItem 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 | 
getCpu()
Get Number of CPU cores of the instance 
 | 
String | 
getCreateTime()
Get Creation time of the instance in the format of 2006-01-02 15:04:05 
 | 
Long | 
getDcnFlag()
Get DCN flag. 
 | 
Long | 
getDcnStatus()
Get DCN status. 
 | 
String | 
getInstanceId()
Get Instance ID 
 | 
String | 
getInstanceName()
Get Instance name 
 | 
Long | 
getInstanceType()
Get Instance type. 
 | 
Long | 
getMemory()
Get Instance memory capacity in GB 
 | 
Long | 
getPayMode()
Get Billing mode 
 | 
String | 
getPeriodEndTime()
Get Expiration time of the instance in the format of 2006-01-02 15:04:05 
 | 
String | 
getRegion()
Get Region where the instance resides 
 | 
Long | 
getStatus()
Get Instance status 
 | 
String | 
getStatusDesc()
Get Instance status description 
 | 
Long | 
getStorage()
Get Instance storage capacity in GB 
 | 
String | 
getVip()
Get Instance IP address 
 | 
String | 
getVipv6()
Get Instance IPv6 address 
 | 
Long | 
getVport()
Get Instance port 
 | 
String | 
getZone()
Get Availability zone where the instance resides 
 | 
void | 
setCpu(Long Cpu)
Set Number of CPU cores of the instance 
 | 
void | 
setCreateTime(String CreateTime)
Set Creation time of the instance in the format of 2006-01-02 15:04:05 
 | 
void | 
setDcnFlag(Long DcnFlag)
Set DCN flag. 
 | 
void | 
setDcnStatus(Long DcnStatus)
Set DCN status. 
 | 
void | 
setInstanceId(String InstanceId)
Set Instance ID 
 | 
void | 
setInstanceName(String InstanceName)
Set Instance name 
 | 
void | 
setInstanceType(Long InstanceType)
Set Instance type. 
 | 
void | 
setMemory(Long Memory)
Set Instance memory capacity in GB 
 | 
void | 
setPayMode(Long PayMode)
Set Billing mode 
 | 
void | 
setPeriodEndTime(String PeriodEndTime)
Set Expiration time of the instance in the format of 2006-01-02 15:04:05 
 | 
void | 
setRegion(String Region)
Set Region where the instance resides 
 | 
void | 
setStatus(Long Status)
Set Instance status 
 | 
void | 
setStatusDesc(String StatusDesc)
Set Instance status description 
 | 
void | 
setStorage(Long Storage)
Set Instance storage capacity in GB 
 | 
void | 
setVip(String Vip)
Set Instance IP address 
 | 
void | 
setVipv6(String Vipv6)
Set Instance IPv6 address 
 | 
void | 
setVport(Long Vport)
Set Instance port 
 | 
void | 
setZone(String Zone)
Set Availability zone where the instance resides 
 | 
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, toJsonStringpublic DcnDetailItem()
public DcnDetailItem(DcnDetailItem source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance IDpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - Instance namepublic String getRegion()
public void setRegion(String Region)
Region - Region where the instance residespublic String getZone()
public void setZone(String Zone)
Zone - Availability zone where the instance residespublic String getVip()
public void setVip(String Vip)
Vip - Instance IP addresspublic String getVipv6()
public void setVipv6(String Vipv6)
Vipv6 - Instance IPv6 addresspublic Long getVport()
public void setVport(Long Vport)
Vport - Instance portpublic Long getStatus()
public void setStatus(Long Status)
Status - Instance statuspublic String getStatusDesc()
public void setStatusDesc(String StatusDesc)
StatusDesc - Instance status descriptionpublic Long getDcnFlag()
public void setDcnFlag(Long DcnFlag)
DcnFlag - DCN flag. Valid values: `1` (primary), `2` (disaster recovery)public Long getDcnStatus()
public void setDcnStatus(Long DcnStatus)
DcnStatus - DCN status. Valid values: `0` (none), `1` (creating), `2` (syncing), `3` (disconnected)public Long getCpu()
public void setCpu(Long Cpu)
Cpu - Number of CPU cores of the instancepublic Long getMemory()
public void setMemory(Long Memory)
Memory - Instance memory capacity in GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage - Instance storage capacity in GBpublic Long getPayMode()
public void setPayMode(Long PayMode)
PayMode - Billing modepublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation time of the instance in the format of 2006-01-02 15:04:05public String getPeriodEndTime()
public void setPeriodEndTime(String PeriodEndTime)
PeriodEndTime - Expiration time of the instance in the format of 2006-01-02 15:04:05public Long getInstanceType()
public void setInstanceType(Long InstanceType)
InstanceType - Instance type. Valid values: `1` (dedicated primary instance), `2` (non-dedicated primary instance), `3` (non-dedicated disaster recovery instance), `4` (dedicated disaster recovery instance)Copyright © 2022. All rights reserved.