public class MigrateClusterRoInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
MigrateClusterRoInfo() |
MigrateClusterRoInfo(MigrateClusterRoInfo 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 只读实例CPU核数
|
String |
getDeviceType()
Get 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 标准型集群版实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 加强型集群版实例。
|
String |
getDiskType()
Get 磁盘类型。 CLOUD_SSD: SSD云硬盘; CLOUD_HSSD: 增强型SSD云硬盘
|
Long |
getMemory()
Get 只读实例内存大小,单位:MB
|
String |
getRoGroupId()
Get 只读实例所在ro组,例:cdbrg-xxx
|
String |
getRoInstanceId()
Get 只读实例名称
|
Long[] |
getSrcAlarmPolicyList()
Get 实例当前告警策略id数组
|
Long |
getVolume()
Get 只读实例硬盘大小,单位:GB
|
String |
getZone()
Get 可用区
|
void |
setCpu(Long Cpu)
Set 只读实例CPU核数
|
void |
setDeviceType(String DeviceType)
Set 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 标准型集群版实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 加强型集群版实例。
|
void |
setDiskType(String DiskType)
Set 磁盘类型。 CLOUD_SSD: SSD云硬盘; CLOUD_HSSD: 增强型SSD云硬盘
|
void |
setMemory(Long Memory)
Set 只读实例内存大小,单位:MB
|
void |
setRoGroupId(String RoGroupId)
Set 只读实例所在ro组,例:cdbrg-xxx
|
void |
setRoInstanceId(String RoInstanceId)
Set 只读实例名称
|
void |
setSrcAlarmPolicyList(Long[] SrcAlarmPolicyList)
Set 实例当前告警策略id数组
|
void |
setVolume(Long Volume)
Set 只读实例硬盘大小,单位:GB
|
void |
setZone(String Zone)
Set 可用区
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MigrateClusterRoInfo()
public MigrateClusterRoInfo(MigrateClusterRoInfo source)
public String getRoInstanceId()
public void setRoInstanceId(String RoInstanceId)
RoInstanceId
- 只读实例名称public Long getCpu()
public void setCpu(Long Cpu)
Cpu
- 只读实例CPU核数public Long getMemory()
public void setMemory(Long Memory)
Memory
- 只读实例内存大小,单位:MBpublic Long getVolume()
public void setVolume(Long Volume)
Volume
- 只读实例硬盘大小,单位:GBpublic String getDiskType()
public void setDiskType(String DiskType)
DiskType
- 磁盘类型。 CLOUD_SSD: SSD云硬盘; CLOUD_HSSD: 增强型SSD云硬盘public String getZone()
public void setZone(String Zone)
Zone
- 可用区public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType
- 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 标准型集群版实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 加强型集群版实例。public String getRoGroupId()
public void setRoGroupId(String RoGroupId)
RoGroupId
- 只读实例所在ro组,例:cdbrg-xxxpublic Long[] getSrcAlarmPolicyList()
public void setSrcAlarmPolicyList(Long[] SrcAlarmPolicyList)
SrcAlarmPolicyList
- 实例当前告警策略id数组Copyright © 2025. All rights reserved.